[comp.unix.wizards] How do I unlink directories w/multiple links???

rang@cpsin3.cps.msu.edu (Anton Rang) (04/14/89)

System: Sun-3/280, SunOS 3.5 (BSD 4.2-derived I guess).

  I have some directories which are hard linked together.  I want to
get rid of one of the links.  How do I do it?  rm doesn't work ("not
removed"), rmdir doesn't work ("directory not empty", whether it is or
not), unlink doesn't work (EPERM).
  Basically:

    /usr/users/place1/directory  ... is hard linked to ...
    /usr/users/place2/directory

  and I can't get rid of either one (or both).

Help?  (Please E-mail if appropriate!)  Thanks in advance....

+---------------------------+------------------------+----------------------+
| Anton Rang (grad student) | "VMS Forever!"         | "Do worry...be SAD!" |
| Michigan State University | rang@cpswh.cps.msu.edu |                      |
+---------------------------+------------------------+----------------------+