Two identical filenames in one directory!
Karl Denninger
karl at ddsw1.MCS.COM
Fri Sep 29 12:35:27 AEST 1989
In article <22 at minya.UUCP> jc at minya.UUCP (John Chambers) writes:
>
>| 1777 -rw-rw-rw- 1 news news 14751 Sep 27 16:40 active
>| 1898 -rw-rw-rw- 1 news news 14751 Sep 27 16:40 active
>
>| _qactive________
>| 0F66767600000001
>| 611349650000000F
>and:
>| _jactive________
>| 0666767600000000
>| 7A13496500000000
>On earlier versions of Unix, I'd know instantly what to do. It's easy enough
>to write a program that runs thru a directory and extends each null byte to
>the end of the entry. But on Sys/V, this doesn't work, because nobody, not
>even root, can write a directory.
>
>I'll just ask: Does anyone know a solution to this problem, short
>of zeroing the directory, running fsck, and reinstalling from backup? The
>best way would be to say "Yes, root can write a directory; here's how..."
Try using "clri" on the offending inode, then "fsck" the filesystem.....
See, that was easy.
--
Karl Denninger (karl at ddsw1.MCS.COM, <well-connected>!ddsw1!karl)
Public Access Data Line: [+1 312 566-8911], Voice: [+1 312 566-8910]
Macro Computer Solutions, Inc. "Quality Solutions at a Fair Price"
More information about the Comp.unix.wizards
mailing list