*BSD News Article 8257


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.hawaii.edu!ames!olivea!uunet!pipex!ibmpcug!gtoal
From: gtoal@ibmpcug.co.uk (Graham Toal)
Newsgroups: comp.unix.bsd
Subject: Generic bsd question: how do I undo a ln -F link???
Message-ID: <ByFLJy.EFs@ibmpcug.co.uk>
Date: 28 Nov 92 14:57:33 GMT
Organization: The IBM PC User Group, UK.
Lines: 13


Ahem. Embarrasing admission: I hard-linked a directory with ln -F and
got the arguments wrong - I now have a directory dict in /usr/share/dict
which points to /usr/share/dict :-(  How do I break the link?

I've tried rm and rmdir (even fetched the sources to see if there were any
secret parameters like ln's -F) and tried a quick C prog to call unlink()
directly.  Nothing worked.  help!

Thanks

G
--