<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Understanding Symbolic Links</title>
	<atom:link href="http://www.nixtutor.com/freebsd/understanding-symbolic-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/</link>
	<description>Helping you Learn Linux</description>
	<lastBuildDate>Sun, 14 Feb 2010 17:54:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: From scripts to commands &#171; Blojects</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-2907</link>
		<dc:creator>From scripts to commands &#171; Blojects</dc:creator>
		<pubDate>Tue, 19 Jan 2010 17:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-2907</guid>
		<description>[...] Symbolic Links: http://www.nixtutor.com/freebsd/understanding-symbolic-links/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Symbolic Links: <a href="http://www.nixtutor.com/freebsd/understanding-symbolic-links/" rel="nofollow">http://www.nixtutor.com/freebsd/understanding-symbolic-links/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mib</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-1016</link>
		<dc:creator>mib</dc:creator>
		<pubDate>Tue, 22 Sep 2009 20:42:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-1016</guid>
		<description>If you want to completely remove a file and its hard links, all in one shot, another way would be removing the file by its *inode number* (ls -il), using find:

find . -inum 192222 -exec rm {} \;

BTW, same method can be used to remove/rename bad filenames.</description>
		<content:encoded><![CDATA[<p>If you want to completely remove a file and its hard links, all in one shot, another way would be removing the file by its *inode number* (ls -il), using find:</p>
<p>find . -inum 192222 -exec rm {} \;</p>
<p>BTW, same method can be used to remove/rename bad filenames.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sync Config Files Across Multiple Computers with Dropbox</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-435</link>
		<dc:creator>Sync Config Files Across Multiple Computers with Dropbox</dc:creator>
		<pubDate>Mon, 22 Jun 2009 11:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-435</guid>
		<description>[...] typically used to sync files that reside in the /home/Dropbox directory we are going to make use of symbolic links to link files outside this directory in an attempt to sync config files across multiple Linux [...]</description>
		<content:encoded><![CDATA[<p>[...] typically used to sync files that reside in the /home/Dropbox directory we are going to make use of symbolic links to link files outside this directory in an attempt to sync config files across multiple Linux [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: clarity4sure</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-374</link>
		<dc:creator>clarity4sure</dc:creator>
		<pubDate>Tue, 16 Jun 2009 08:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-374</guid>
		<description>Dude, love the Practice Makes Perfect bit, I&#039;m new to unix and find a good deal of forum posts (and other posts) to be a bit pretentious in their premise that clarity is universal about some, what may appear to be, basics. What I&#039;ve discovered is this is an incorrect premise and generally some simple (and quick) justification of the context of the posting adds heaps to not only the validity of the information, but the overall usefulness, by providing a &#039;ball park&#039; for the remarks. Thanks. Mark</description>
		<content:encoded><![CDATA[<p>Dude, love the Practice Makes Perfect bit, I&#8217;m new to unix and find a good deal of forum posts (and other posts) to be a bit pretentious in their premise that clarity is universal about some, what may appear to be, basics. What I&#8217;ve discovered is this is an incorrect premise and generally some simple (and quick) justification of the context of the posting adds heaps to not only the validity of the information, but the overall usefulness, by providing a &#8216;ball park&#8217; for the remarks. Thanks. Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Sanborn</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-337</link>
		<dc:creator>Mark Sanborn</dc:creator>
		<pubDate>Tue, 09 Jun 2009 05:49:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-337</guid>
		<description>Opps it looks like I made a mistake when talking about hard Links.  The post is updated.

Thanks for the comments guys</description>
		<content:encoded><![CDATA[<p>Opps it looks like I made a mistake when talking about hard Links.  The post is updated.</p>
<p>Thanks for the comments guys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-336</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 08 Jun 2009 23:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-336</guid>
		<description>When you remove a file, you remove a (hard) link. That&#039;s why the Unix syscall is called unlink(). Most files have one link. Your hard link commands above show creating an additional link. At that point, removing one link will still leave the other. When you remove the last link, the file is finally removed. Try it!</description>
		<content:encoded><![CDATA[<p>When you remove a file, you remove a (hard) link. That&#8217;s why the Unix syscall is called unlink(). Most files have one link. Your hard link commands above show creating an additional link. At that point, removing one link will still leave the other. When you remove the last link, the file is finally removed. Try it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rhabarberkuchen</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-333</link>
		<dc:creator>Rhabarberkuchen</dc:creator>
		<pubDate>Mon, 08 Jun 2009 11:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-333</guid>
		<description>Hard links are not removed when the original file is  removed. In fact, the operating system can&#039;t distinguish between the original and the hard link.

The OS keeps a counter how often a certain file is linked to via hard links (including the initial reference, which is nothing else but just a hard link). When that counter reaches zero, the file is removed.

If you post a &quot;Understanding ...&quot; entry on a site named &quot;nixtutor&quot;, do a little research first, please.</description>
		<content:encoded><![CDATA[<p>Hard links are not removed when the original file is  removed. In fact, the operating system can&#8217;t distinguish between the original and the hard link.</p>
<p>The OS keeps a counter how often a certain file is linked to via hard links (including the initial reference, which is nothing else but just a hard link). When that counter reaches zero, the file is removed.</p>
<p>If you post a &#8220;Understanding &#8230;&#8221; entry on a site named &#8220;nixtutor&#8221;, do a little research first, please.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-332</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 08 Jun 2009 03:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-332</guid>
		<description>Hard Links: &quot;Links are removed if the original file is deleted&quot;

This is not true.  A file exists in one block on disk (for simplicity), each inode in the filesytem will point to this block.  The block will have a reference count (the number of inodes referencing this block).  The block is not recovered &quot;marked free&quot; unless the reference count is zero.  So, for the file to be deleted all links must be removed.  Removing one hard link does not affect the other links until they are all gone.</description>
		<content:encoded><![CDATA[<p>Hard Links: &#8220;Links are removed if the original file is deleted&#8221;</p>
<p>This is not true.  A file exists in one block on disk (for simplicity), each inode in the filesytem will point to this block.  The block will have a reference count (the number of inodes referencing this block).  The block is not recovered &#8220;marked free&#8221; unless the reference count is zero.  So, for the file to be deleted all links must be removed.  Removing one hard link does not affect the other links until they are all gone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-331</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Mon, 08 Jun 2009 03:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-331</guid>
		<description>Removing the original file does not remove the hardlinks.  They are still acessible.</description>
		<content:encoded><![CDATA[<p>Removing the original file does not remove the hardlinks.  They are still acessible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drbobb</title>
		<link>http://www.nixtutor.com/freebsd/understanding-symbolic-links/comment-page-1/#comment-329</link>
		<dc:creator>drbobb</dc:creator>
		<pubDate>Sun, 07 Jun 2009 21:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=864#comment-329</guid>
		<description>you wrote:

&quot;if you remove a the original file all hard links will also disappear.&quot;

to which I say: Huh?</description>
		<content:encoded><![CDATA[<p>you wrote:</p>
<p>&#8220;if you remove a the original file all hard links will also disappear.&#8221;</p>
<p>to which I say: Huh?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
