Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!uwm.edu!psuvax1!psuvm!cunyvm!uupsi!sunic!dkuug!diku!kimcm From: kimcm@diku.dk (Kim Christian Madsen) Newsgroups: comp.unix.questions Subject: Re: removing hard linked directories Message-ID: <1991Mar21.080528.29982@odin.diku.dk> Date: 21 Mar 91 08:05:28 GMT References: <1991Mar20.013744.12749@ux1.cso.uiuc.edu> Sender: news@odin.diku.dk (Netnews System) Organization: Department of Computer Science, U of Copenhagen Lines: 13 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. Supposing that you're running SysV (or something like it) you probably have an utility in called unlink in /etc. This will do the job, unfortunately you will have to be root to execute this, since it does not perform the usual tests that rm/rmdir would do. Regards, Kim Chr. Madsen