Two identical filenames in one directory!
David Goodenough
dg at lakart.UUCP
Sat Sep 30 04:50:01 AEST 1989
>From article <22 at minya.UUCP>, by jc at minya.UUCP (John Chambers):
Lots of stuff about funky duplicate directory entries deleted .....
What happens if you do the following:
tar cf - . | ( cd someplace_else ; tar xf - )
I.e. use tar to shift the whole directory structure someplace else.
However, I'm still not 100% sure how you'd set about removing both
entries in the original directory, rm might still do ugly things.
If I were a _REAL_ hacker, I'd suggest opening the raw disk device
(/dev/rsm0g or whatever) for UPDATE, seeking along it looking for
the string "active", and then just patching the disk itself. [1]
I do this on a fairly regular basis to my machine at home, but then
the file structure of CP/M is a bit simpler that UNIX :-)
[1] This is not meant to be taken totally seriously, I'd suggest
waiting to hear what flames people have for such a brutal idea
before trying it. Also sync the disk, and umount it before
attempting this.
--
dg at lakart.UUCP - David Goodenough +---+
IHS | +-+-+
....... !harvard!xait!lakart!dg +-+-+ |
AKA: dg%lakart.uucp at xait.xerox.com +---+
More information about the Comp.unix.wizards
mailing list