Confused file name in directory
terryl at tekcrl.UUCP
terryl at tekcrl.UUCP
Sat Feb 28 07:04:44 AEST 1987
In article <1667 at oddjob.UChicago.EDU> matt at oddjob.uchicago.edu (Yes, *THAT* Matt Crawford) writes:
+In article <5587 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
+) In article <105 at aob.UUCP> someone finds a directory entry with an
+) embedded NUL, and has nothing handy to fix it.
+)
+) There is still another way, easier yet but more dangerous and
+) thrilling. You cannot edit a directory, but you can edit a file.
+) And the only difference between the two is one byte. ...
+
+Hoowie! Is that complicated. Sounds fun though. I just
+unmount the partition, get out a calculator, and adb the raw
+disk.
Any wizard worth his paycheck would take it one step further: adb the
block partition(don't have to unmount it first) and then use adb to modify
the ACTUAL directory block where the entry with the embedded NULL in it.
It's doable (I've done it on a V7 file system; I don't know if I'd want to
try it on a 4.2 file system). You wanna talk about complicated????
More information about the Comp.unix.xenix
mailing list