home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!pan.mc.ti.com!rgam.sc.ti.com!rgammon
- From: 5692330@mcimail.com (Robert Gammon)
- Subject: Re: Zero-length files
- Message-ID: <930107180028@rgam.sc.ti.com>
- Nntp-Software: PC/TCP NNTP
- Lines: 22
- Sender: usenet@pan.mc.ti.com (USENET News System)
- Organization: Texas Instruments Materials and Controls Group
- References: <1ierslINNriq@usenet.INS.CWRU.Edu>
- Date: Thu, 7 Jan 1993 23:00:28 GMT
-
- In article <1ierslINNriq@usenet.INS.CWRU.Edu> al919@cleveland.Freenet.Edu (Bruce Halco) writes:
-
- >>
- >> I can't find the original posting, but someone asked about
- >> making zero-length files. In DOS you can do this with
- >>
- >> REM > FOO.BAR
- >>
- >> I haven't tried this in OS/2. That can be an exercise for the
- >> reader :-)
-
- Ahh, but this is not what the original poster was seeking. Yes, this
- creates a file with a listed size of 0 bytes, BUT, a minimum allocation
- unit is still used (512 bytes, a single sector with HPFS, more with FAT).
- Our PC file systems insist on allocating at least one allocation unit to
- every file (not an unreasonable assumption since most of us have little or
- no need for such capability).
- --
- Regards,
- Robert Gammon
- (713)-274-3299 (voice)
- (713)-274-2324 (fax)
-
-