Path: utzoo!attcan!uunet!zephyr!tektronix!orca!quark!jeff From: jeff@quark.WV.TEK.COM (Jeff Beadles) Newsgroups: comp.unix.questions Subject: Re: Directory Editor Keywords: directory,damaged,fix Message-ID: <3522@orca.WV.TEK.COM> Date: 7 Jun 89 15:14:08 GMT References: <603@stanton.UUCP> Sender: nobody@orca.WV.TEK.COM Reply-To: jeff@quark.WV.TEK.COM (Jeff Beadles) Followup-To: comp.unix.questions Organization: Tektronix, Inc., Wilsonville, OR Lines: 11 In article <603@stanton.UUCP> donegan@stanton.UUCP ( Owner) writes: >I'm sorry if this has been covered before, but is there source code available >which would allow me(root) to edit a directory file directly? Nope. Only the kernel can write to a directory. Even allmighty root can't do that. However, if you're really bored, I guess that you could go into the raw filesystem, search for the block on-disk, and tweek it there. :-) :-) (Don't do this at home kids...) -Jeff