removing hard linked directories

Kim Christian Madsen kimcm at diku.dk
Thu Mar 21 18:05:28 AEST 1991


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.

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



More information about the Comp.unix.questions mailing list