Confused file name in directory

guy at gorodish.UUCP guy at gorodish.UUCP
Thu Feb 26 20:17:39 AEST 1987


>Of course, if you have source, you could alter fsck to check for
>embedded NULs in filenames.

And not to *generate* file names with embedded NULs.  Some versions
of "fsck" for the V7 file system (as used in most UNIX systems not
using the 4.2BSD file system) would assume that any free directory
slot in "lost+found" would have no non-NUL characters in the
directory name portion of that slot, which is not the case.  The V7
and System III versions did not zero out the entire file name; this
is fixed in S5.  Check the routine "mkentry".



More information about the Comp.unix.xenix mailing list