Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!munnari.oz.au!uniwa!DIALix!metapro!bernie From: bernie@metapro.DIALix.oz.au (Bernd Felsche) Newsgroups: comp.unix.questions Subject: Re: removing hard linked directories Message-ID: <1991Mar29.052314.9440@metapro.DIALix.oz.au> Date: 29 Mar 91 05:23:14 GMT Article-I.D.: metapro.1991Mar29.052314.9440 References: <1991Mar20.013744.12749@ux1.cso.uiuc.edu> Organization: MetaPro Systems, Perth, Western Australia Lines: 19 In article <1991Mar20.013744.12749@ux1.cso.uiuc.edu> phil@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 Metapro Systems, / sale \ Fax: +61 9 472 3337 328 Albany Highway, \_.--._/ Phone: +61 9 362 9355 Victoria Park, Western Australia v Email: bernie@metapro.DIALix.oz.au