<?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: HowTo: Create a Hard Links in Linux / UNIX</title> <atom:link href="http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: RonCam</title><link>http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-63042</link> <dc:creator>RonCam</dc:creator> <pubDate>Sat, 01 Oct 2011 11:50:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-63042</guid> <description>Thanks for the clarification and thanks for still watching this thread.  Hope your reply will be useful to others who come across your excellent blog, by searching.
Now, because of what you said, I may instead try to get a similar result using &#039;mount --bind&#039;.
I&#039;m trying to get the &#039;/doc&#039; from &#039;usr/share/doc&#039; off of a small SSD and onto a separate &#039;/doc&#039; on a MMC in the memory slot of the same netbook.  As well, I think the above command should also be insensitive to the SSD being ext4 and the MMC being formatted in ext3.</description> <content:encoded><![CDATA[<p>Thanks for the clarification and thanks for still watching this thread.  Hope your reply will be useful to others who come across your excellent blog, by searching.</p><p>Now, because of what you said, I may instead try to get a similar result using &#8216;mount &#8211;bind&#8217;.</p><p>I&#8217;m trying to get the &#8216;/doc&#8217; from &#8216;usr/share/doc&#8217; off of a small SSD and onto a separate &#8216;/doc&#8217; on a MMC in the memory slot of the same netbook.  As well, I think the above command should also be insensitive to the SSD being ext4 and the MMC being formatted in ext3.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-63040</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Sat, 01 Oct 2011 09:55:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-63040</guid> <description>We are talking about two devices. For example /dev/sdc1 mounted on /disk1 and /dev/sdd1 mounted on /disk2. You can not create a hard link between /disk1 and /disk2. You will get an error as follows if you try:
&lt;pre&gt;ln: creating hard link `hard&#039; =&gt; `/disk2/somefile&#039;: Invalid cross-device link&lt;/pre&gt;
Also, you can not format /dev/sdd1 as ext3 or ext4 at the same time or mount same device as ext3 or ext4 as same time as you need to format the file system. In short, hard link is not allowed between cross devices (it does not matter if devices are formatted as ext3 or ext4).</description> <content:encoded><![CDATA[<p>We are talking about two devices. For example /dev/sdc1 mounted on /disk1 and /dev/sdd1 mounted on /disk2. You can not create a hard link between /disk1 and /disk2. You will get an error as follows if you try:</p><pre>ln: creating hard link `hard' => `/disk2/somefile': Invalid cross-device link</pre><p>Also, you can not format /dev/sdd1 as ext3 or ext4 at the same time or mount same device as ext3 or ext4 as same time as you need to format the file system. In short, hard link is not allowed between cross devices (it does not matter if devices are formatted as ext3 or ext4).</p> ]]></content:encoded> </item> <item><title>By: RonCam</title><link>http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-63024</link> <dc:creator>RonCam</dc:creator> <pubDate>Fri, 30 Sep 2011 20:53:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-63024</guid> <description>&lt;blockquote&gt;Another drawback of hard links is that they have to be located within the same file system, and most large systems today consist of multiple file systems.&lt;/blockquote&gt;
Does mean, for example, you cannot make a hard link between and ext3 and ext4 file system, or does it mean you cannot link between file systems on two separate volumes?
I know this is two years old, but maybe some is watching?  I have seen the above quote in a number of sources, but this one is the only one where there&#039;s a chance to ask.</description> <content:encoded><![CDATA[<blockquote><p>Another drawback of hard links is that they have to be located within the same file system, and most large systems today consist of multiple file systems.</p></blockquote><p>Does mean, for example, you cannot make a hard link between and ext3 and ext4 file system, or does it mean you cannot link between file systems on two separate volumes?</p><p>I know this is two years old, but maybe some is watching?  I have seen the above quote in a number of sources, but this one is the only one where there&#8217;s a chance to ask.</p> ]]></content:encoded> </item> <item><title>By: amu</title><link>http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-45084</link> <dc:creator>amu</dc:creator> <pubDate>Mon, 07 Dec 2009 17:45:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-45084</guid> <description>hard link
ln -fs file_location link_file_location
where
fs is forcefully and source respectively</description> <content:encoded><![CDATA[<p>hard link</p><p>ln -fs file_location link_file_location<br
/> where<br
/> fs is forcefully and source respectively</p> ]]></content:encoded> </item> <item><title>By: zafar</title><link>http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-43899</link> <dc:creator>zafar</dc:creator> <pubDate>Thu, 01 Oct 2009 02:59:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/creating-hard-links-with-ln-command/#comment-43899</guid> <description>hi i m zafar
i wanna to update in linux command
but i know some cmd so plz me update continu
thanks</description> <content:encoded><![CDATA[<p>hi i m zafar<br
/> i wanna to update in linux command<br
/> but i know some cmd so plz me update continu<br
/> thanks</p> ]]></content:encoded> </item> </channel> </rss>
