Directory Editor

Jeff Beadles jeff at quark.WV.TEK.COM
Thu Jun 8 01:14:08 AEST 1989


In article <603 at stanton.UUCP> donegan at 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



More information about the Comp.unix.questions mailing list