removing hard linked directories
Doug Gwyn
gwyn at smoke.brl.mil
Thu Mar 21 08:19:40 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.
You remove the extra links essentially the same way that you created them:
have effective UID 0 perform unlink() operations. Some systems may have
"link" and "unlink" utilities for use by the superuser.
More information about the Comp.unix.questions
mailing list