Path: utzoo!attcan!uunet!cs.utexas.edu!rice!sun-spots-request From: jonc@amdahl.uts.amdahl.com (J N C) Newsgroups: comp.sys.sun Subject: HELP!! Need to remove a hard link created by ln(1) Keywords: Miscellaneous Message-ID: <8145@brazos.Rice.edu> Date: 25 May 90 01:11:18 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 19 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 182, message 11 Help! a hard link was created by root, who used: ln -f dir1 dir2 The "-f" creates a hard link as oppose to a soft (symbolic) link. The problem is I want to remove the link but "rm" won't do it. It says "directory not empty" even though it is (of course the original directory isn't empty and I don't want to delete that directory) The "unlink" command isn't on the system (what's the path to it anyway). So is there an alternate way to remove this "hard" link? [[Ed's Note: /usr/etc/unlink -bdg]] Please respond suggestions ** ASAP ** by e-mail. Thanks!! jonc@amdahl.uts.amdahl.com