removing hard linked directories
Bernd Felsche
bernie at metapro.DIALix.oz.au
Fri Mar 29 15:23:14 AEST 1991
In article <1991Mar20.013744.12749 at ux1.cso.uiuc.edu> phil at ux1.cso.uiuc.edu (Phil Howard KA9WGN) writes:
>How would you recommend removing a directory that is linked under several
>different names? The directory really is empty but rmdir lies and says
>it is not empty.
fsdb and reduce the link count to 2. then run fsck.
with sysv, you shouldn't have the multiple hard links anyway, except
to sub-directories, unless... perhaps:
there is a process still running, with its working directory in limbo,
below the directory you are trying to remove.
--
Bernd Felsche, _--_|\ #include <std/disclaimer.h>
Metapro Systems, / sale \ Fax: +61 9 472 3337
328 Albany Highway, \_.--._/ Phone: +61 9 362 9355
Victoria Park, Western Australia v Email: bernie at metapro.DIALix.oz.au
More information about the Comp.unix.questions
mailing list