home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.compression
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!ellis!roe2
- From: roe2@ellis.uchicago.edu (Cave Newt)
- Subject: Re: PKZip 2.04c quick impressions
- Message-ID: <1993Jan7.190025.8796@midway.uchicago.edu>
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: roe2@midway.uchicago.edu
- Organization: University of Chicago
- References: <bontchev.726251313@fbihh> <1993Jan5.172729.23504@midway.uchicago.edu> <814@ulogic.UUCP>
- Date: Thu, 7 Jan 1993 19:00:25 GMT
- Lines: 34
-
- I wrote:
-
- >>I don't recall how to create an empty file without "touch"
-
- hartman@ulogic.UUCP (Richard M. Hartman) writes:
-
- > C:> REM >file.000
-
- As Vesselin wrote me privately, if you want this to be portable between
- MS-DOS and 4DOS, you need to do it without any spaces (i.e., "rem>file.000").
-
- In any case, it's irrelevant, since it's not a real file after all, but
- the floppy's volume label. I'm not sure if "echo PKDISK#.001 | label a:"
- would work, but in any case it's quite likely that we'll want to do this
- in a program instead of a batch file (assuming we do it at all).
-
- >>He was talking about packing, not unpacking. Getting rid of the bad
- >>disk is the proper response when writing the archive.
-
- >I don't think it got rid of the bad disk. I think it stopped using it.
- >That is, if the bad sector is #20, it used 19 sectors of that disk then
- >went to the next disk, leaving an almost unused disk in the middle of
- >the archive.
-
- Sorry, ambiguous writing on my part--that's what I meant ("get rid" of
- the disk by ceasing to use it as soon as an error is encountered). An
- even better solution would be to get rid of the bad disk entirely, but
- that's probably not practical: it would require reconstructing the state
- of the data stream at the beginning of the bad disk, or else keeping a
- floppy-sized data buffer within the program. Reading the already-written
- data back off the bad diskette is not a valid option, in my mind.
-
- Greg Roelofs
- Info-ZIP
-