Re: Anyone seen this?
On Wed, Jul 19, 2006 at 10:34:11AM -0500, John Mason wrote:
> unlink is not really a "link"... it's the name of the command. The
> "unlink" command really just means delete. Not a clue why they call it
> unlink and not delete.... but basically calling unlink on a file OR a
> hard link OR a symbolic link will remove the link/file.
Actually it is the other way around. There is no command to delete
a file - all you can do is decrement the inode link count. The
file gets deleted as a side effect when the link count drops to zero.
The only thing an 'unlink' is sure to remove is the directory entry.
That is how hard links work.
Regards,
DigbyT
--
Digby R. S. Tarvin digbyt(at)digbyt.com
http://www.digbyt.com
Reply to: