Article View: comp.sys.sun
Article #11746Directory truncation from 4.3bsd?
From: David Robinson
Date: Wed, 29 Mar 1989 22:11
Date: Wed, 29 Mar 1989 22:11
16 lines
1275 bytes
1275 bytes
4.3BSD added the wonderful feature that a directory with unused disk
blocks at the end is truncated when a file is created, since create has to
search the entire directory anyways it can also detect empty directory
entries.
On our Suns running 4.0.1 this does not seem to be happening, I have
noticed emtpy directories that are over 100K in size, most notable
/usr/spool/news/.rnews and /usr/spool/mqueue. I know that the 3.X NFSSRC
is based on 4.2BSD ufs code and does not have it but I thought that 4.0
would pick up the 4.3bsd features.
Anyone have any insight on if this was deliberate or just an oversight?
David Robinson elroy!david@csvax.caltech.edu ARPA
david@elroy.jpl.nasa.gov ARPA
{cit-vax,ames}!elroy!david UUCP
Technical Details
Message-ID:
<14379@elroy.Jpl.Nasa.Gov>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: david@elroy.jpl.nasa.gov (David Robinson) Newsgroups: comp.sys.sun Subject: Directory truncation from 4.3bsd? Keywords: SunOS Message-ID: <14379@elroy.Jpl.Nasa.Gov> Date: 29 Mar 89 22:11:11 GMT Sender: usenet@rice.edu Organization: Image Analysis Systems Grp, JPL Lines: 16 Approved: Sun-Spots@rice.edu Original-Date: 14 Mar 89 01:23:42 GMT X-Sun-Spots-Digest: Volume 7, Issue 212, message 11 of 14