[NTLUG:Discuss] symbolic links

Eric Schnoebelen eric at cirr.com
Wed Apr 16 10:08:59 CDT 2003


"Darin W. Smith" writes:
- As long as it is a *symbolic* link, rm will just remove the link
- (don't do that on hard links though, because a hard link is really
- the original file)

	Actually, even as a hard link, rm(1) will just remove
that name for the file.

	When the last link to the file is removed, then the file's
space is deallocated, and the inode removed.

	So, if you have a file with multiple hard links (the
space efficent way to do it) the file will remain as long as one
hard link exists.

--
Eric Schnoebelen		eric at cirr.com		http://www.cirr.com
	    Ignorant people in preppy clothes are more dangerous
	      to America than oil embargos.  -- V. S. Naipaul



More information about the Discuss mailing list