jonc@amdahl.uts.amdahl.com (J N C) (05/25/90)
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
jms@tardis.tymnet.com (Joe Smith) (06/01/90)
In article <8145@brazos.Rice.edu> jonc@amdahl.uts.amdahl.com (J N C) writes: >X-Sun-Spots-Digest: Volume 9, Issue 182, message 11 > >Help! a hard link was created by root. >The "unlink" command isn't on the system (what's the path to it anyway). >[[Ed's Note: /usr/etc/unlink -bdg]] Correction: "unlink" is put into /usr/etc if the system admin selects the SYS-V compatibility software when installing the OS. The tar file containing this program is in: File 3 on cartridge 4 for SunOS-3.5 File 9 on cartridge 2 or file 10 of tape 2 for SunOS-4.0.2 File 10 on tape 10 for SunOS-4.1 Joe Smith (408)922-6220 | SMTP: jms@tardis.tymnet.com or jms@gemini.tymnet.com BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms PO Box 49019, MS-C41 | BIX: smithjoe | 12 PDP-10s still running! "POPJ P," San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga speaks for me."