home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / msdos / 1097 next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.7 KB

  1. Xref: sparky comp.unix.msdos:1097 comp.unix.bsd:8942 comp.unix.sysv386:16513 comp.unix.xenix.misc:225 comp.unix.xenix.sco:3333 comp.unix.pc-clone.32bit:476 comp.unix.sys5.r4:518 comp.unix.wizards:4728
  2. Path: sparky!uunet!think.com!ames!haven.umd.edu!umd5!roissy.umd.edu!mark
  3. From: mark@roissy.umd.edu (Mark Sienkiewicz)
  4. Newsgroups: comp.unix.msdos,comp.unix.bsd,comp.unix.sysv386,comp.unix.xenix.misc,comp.unix.xenix.sco,unix-pc.general,comp.unix.pc-clone.32bit,comp.unix.sys5.r4,comp.unix.wizards
  5. Subject: Re: HELP! problem with tar PC <-> SUN
  6. Message-ID: <17013@umd5.umd.edu>
  7. Date: 16 Nov 92 19:01:46 GMT
  8. References: <BxJ7qx.2An@avalon.nwc.navy.mil> <1992Nov12.212714.6615@thunder.mcrcim.mcgill.edu> <1992Nov12.234822.1273@leland.Stanford.EDU>
  9. Sender: news@umd5.umd.edu
  10. Organization: University of Maryland
  11. Lines: 21
  12.  
  13. In article <1992Nov12.234822.1273@leland.Stanford.EDU> dkeisen@leland.Stanford.EDU (Dave Eisen) writes:
  14. >This probably still won't make him happy. He'll want to read tapes
  15. >that were created with a blocking factor of 20 using a blocking
  16. >factor of 20 and tapes that were created with a blocking factor of
  17. >2 using a blocking factor of 2. In other words, he wants tar to
  18.  
  19. I agree the client is being unreasonable, but I can't remember _ever_
  20. working for a client who was not unreasonable at least some of the time.
  21.  
  22. >be clairvoyent. If this is the case, all you can do is tell him that
  23. >he wants something impossible and hope you don't lose the business.
  24.  
  25. On most systems I've used, you can detect the block size of a tape by
  26. doing something like:
  27.  
  28.     char buffer[BIGGEST_POSSIBLE_RECORD_SIZE];
  29.  
  30.     n=read(fd,buffer,sizeof(buffer));
  31.     printf("block size is %d bytes\n",n);
  32.  
  33. Mark S.
  34.