minimal loss of information when deallocating inodes?

Guy Harris guy at auspex.UUCP
Thu Jan 5 18:14:27 AEST 1989


>A pointer to the appropriate section in the SVID would be most
>reassuring.

The SVID doesn't say anything about the format of the file system on
disk; the 4.2BSD file system can be used in a SVID-compliant
implementation (yes, 255-character file names and all), as can, say, the
Apollo file system (they've said their SR10.1 release, or whatever the
number is, passed the SVVS).  As such, you're not likely to get any
reassurances from the SVID about what a system'll do to the mode field
of the inode... 

>Assurances from a few wizards would be somewhat less reassuring, but
>would definitely be appreciated.

...however, since it says that either 0 or 0100000 represent plain
files, and since in both the V7/S5 and 4.2BSD file systems

	1) an all-zero mode field indicates an unused inode

and

	2) 0100000 in the upper 4 bits of the mode field indicate a
	   plain file,

non-buggy systems using either of those file systems will put 0100000
field of the inode if you do a "mknod" with either 0 or 0100000 in the
upper 4 bits of the mode. 



More information about the Comp.unix.wizards mailing list