Two identical filenames in one directory!

Chris Torek chris at mimsy.UUCP
Sun Oct 1 16:26:52 AEST 1989


In article <701 at ccssrv.UUCP> perry at ccssrv.UUCP (Perry Hutchison) writes:
(regarding fixing a file name of the form `foo\0\0\0\0\0\0\0\0\0\0x')
>Sure.  You boot DOS, run Norton Utilities in maintenance mode, search for the
>problem pattern, and patch it.  Change the 1F to 00 and the name to anything
>that doesn't duplicate some other entry in that directory.
>
>This isn't a 386?  Well you can always use adb on the raw special file.

For one thing, adb only works on block special files, since it reads and
writes one `int' at a time.  More importantly, this sort of problem is
rare enough under reasonable versions of Unix (i.e., never happens, because
fsck fixes it) that one does not need Norton Utilities.

If fsck does *not* fix it, then that is a bug in fsck.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at cs.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.wizards mailing list