rang@cpsin3.cps.msu.edu (Anton Rang) (04/26/89)
I have some directories with multiple hard links. I'd like to remove one of the hard links. Sounds simple, right? How do I do it? Calling unlink() returns EPERM (even as superuser).... Thanks! For example: /abc/def/ghi is hard-linked to /abc/xxx/ghi (via ln -f) How to remove the /abc/def/ghi link? [[ I believe that "fsck" is your only recourse. See v7n120 for details on a bug in "rename" that can unintentionally place you in this situation. --wnl ]]