Path: utzoo!utgpu!attcan!uunet!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!spdcc!ima!cfisun!lakart!dg From: dg@lakart.UUCP (David Goodenough) Newsgroups: comp.unix.wizards Subject: Re: Two identical filenames in one directory! Message-ID: <705@lakart.UUCP> Date: 29 Sep 89 18:50:01 GMT References: <22@minya.UUCP> Organization: Lakart Corporation, Newton, MA Lines: 27 From article <22@minya.UUCP>, by jc@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@lakart.UUCP - David Goodenough +---+ IHS | +-+-+ ....... !harvard!xait!lakart!dg +-+-+ | AKA: dg%lakart.uucp@xait.xerox.com +---+