ENORMOUS pathname
Piercarlo Grandi
pcg at rupert.cs.aber.ac.uk
Tue Feb 6 06:45:46 AEST 1990
In article <350 at spcc386.UUCP> stefan at spcc386.UUCP (Stefan Posthuma) writes:
A directory-handling program went berzerk and now I have this path with
about two hundred directories in there. I have tried but there seems to be
no way to get rid of it. The shell breaks when I go deep enough, rm -r goofs
up, fsck fails, rmdir crashes and so on.
I am running SCO Xenix 386 2.3.1
Bright ideas anyone?
Fairly easy... move everything else our of that directory, or
move the first part of the crazy pathname into its own directory,
and then use fsdb and ZAP THE INODE (keep zapping inodes...).
Ignore fsck's attempts to rescue the directory then.
Or use ftw(3) with a routine that does an unlink(2) from the
bottom up.
--
Piercarlo "Peter" Grandi | ARPA: pcg%cs.aber.ac.uk at nsfnet-relay.ac.uk
Dept of CS, UCW Aberystwyth | UUCP: ...!mcvax!ukc!aber-cs!pcg
Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg at cs.aber.ac.uk
More information about the Comp.unix.xenix
mailing list