<?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: Create a Symbolic Link in UNIX</title>
	<atom:link href="http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Fri, 10 Feb 2012 12:22:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nooby</title>
		<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/comment-page-1/#comment-49457</link>
		<dc:creator>nooby</dc:creator>
		<pubDate>Thu, 08 Sep 2011 08:22:11 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-49457</guid>
		<description>Hallo,
indeed I need some help! i&#039;m absolutly new at linux! but I have to administrate a internalwebserver, which is running with Joomla 1.5. We had a symlink to a share on an other Server, but it doesn&#039;t work now. I tried to link again with:

sudo ln -s \\server\share /var/www/joomla15/slw/

when I do this I get back, that the file does exist. But  the hp the link doesn&#039;t work! so awhat can I do?</description>
		<content:encoded><![CDATA[<p>Hallo,<br />
indeed I need some help! i&#8217;m absolutly new at linux! but I have to administrate a internalwebserver, which is running with Joomla 1.5. We had a symlink to a share on an other Server, but it doesn&#8217;t work now. I tried to link again with:</p>
<p>sudo ln -s \\server\share /var/www/joomla15/slw/</p>
<p>when I do this I get back, that the file does exist. But  the hp the link doesn&#8217;t work! so awhat can I do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NN</title>
		<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/comment-page-1/#comment-44786</link>
		<dc:creator>NN</dc:creator>
		<pubDate>Tue, 14 Dec 2010 17:16:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-44786</guid>
		<description>Thanks Jim for a very good explanation!</description>
		<content:encoded><![CDATA[<p>Thanks Jim for a very good explanation!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/comment-page-1/#comment-43999</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 16 Nov 2010 15:35:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-43999</guid>
		<description>Oh...sorry...one last thing...a file is not actually deleted unless its hard link count is 1.  *THEN* it is gone.</description>
		<content:encoded><![CDATA[<p>Oh&#8230;sorry&#8230;one last thing&#8230;a file is not actually deleted unless its hard link count is 1.  *THEN* it is gone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/comment-page-1/#comment-43998</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 16 Nov 2010 15:33:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-43998</guid>
		<description>Vick:  Sorry, but that isn&#039;t correct.  If you have a file called &#039;new&#039;, for instance, and create a hard link called &#039;new2&#039;, both &#039;new&#039; and &#039;new2&#039; point to the same physical location on the hard drive.  If you do an &#039;ls -l new&#039; you will see something like:

-rw-r--r-- 2     new

That *2* is the number of hard links to the file.  Every file upon creation has one hard link to the location itself, which is why you normally see &#039;1&#039; in this spot for files.

Now, to get back to what I was explaining, if you have &#039;new&#039; and &#039;new2&#039; which is a hard link to &#039;new&#039;, and you delete &#039;new&#039;, the file is not gone.  &#039;new2&#039; still points to that file and is completely usable.  Other hard links are not &#039;magically&#039; deleted...and that is the value in a hard link.

If &#039;new2&#039; was a soft link, however, to &#039;new&#039;, and you deleted &#039;new&#039;, then &#039;new2&#039; would still exist, but would not be valid any longer, since the file &#039;new&#039; that it points to no longer exists.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Vick:  Sorry, but that isn&#8217;t correct.  If you have a file called &#8216;new&#8217;, for instance, and create a hard link called &#8216;new2&#8242;, both &#8216;new&#8217; and &#8216;new2&#8242; point to the same physical location on the hard drive.  If you do an &#8216;ls -l new&#8217; you will see something like:</p>
<p>-rw-r&#8211;r&#8211; 2     new</p>
<p>That *2* is the number of hard links to the file.  Every file upon creation has one hard link to the location itself, which is why you normally see &#8216;1&#8242; in this spot for files.</p>
<p>Now, to get back to what I was explaining, if you have &#8216;new&#8217; and &#8216;new2&#8242; which is a hard link to &#8216;new&#8217;, and you delete &#8216;new&#8217;, the file is not gone.  &#8216;new2&#8242; still points to that file and is completely usable.  Other hard links are not &#8216;magically&#8217; deleted&#8230;and that is the value in a hard link.</p>
<p>If &#8216;new2&#8242; was a soft link, however, to &#8216;new&#8217;, and you deleted &#8216;new&#8217;, then &#8216;new2&#8242; would still exist, but would not be valid any longer, since the file &#8216;new&#8217; that it points to no longer exists.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vick</title>
		<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/comment-page-1/#comment-43562</link>
		<dc:creator>Vick</dc:creator>
		<pubDate>Fri, 29 Oct 2010 10:05:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-43562</guid>
		<description>A hard link is another name for an existing file; there is no difference between the link and the original file. So if you make a hard link from file `foo&#039; to file `bar&#039;, and then remove file `bar&#039;, file `foo&#039; is also removed. Each file has at least one hard link, which is the original file name itself. Directories always have at least two hard links--the directory name itself (which appears in its parent directory) and the special file `.&#039; inside the directory. Likewise, when you make a new subdirectory, the parent directory gains a new hard link for the special file `..&#039; inside the new subdirectory. </description>
		<content:encoded><![CDATA[<p>A hard link is another name for an existing file; there is no difference between the link and the original file. So if you make a hard link from file `foo&#8217; to file `bar&#8217;, and then remove file `bar&#8217;, file `foo&#8217; is also removed. Each file has at least one hard link, which is the original file name itself. Directories always have at least two hard links&#8211;the directory name itself (which appears in its parent directory) and the special file `.&#8217; inside the directory. Likewise, when you make a new subdirectory, the parent directory gains a new hard link for the special file `..&#8217; inside the new subdirectory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pranab</title>
		<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/comment-page-1/#comment-39503</link>
		<dc:creator>Pranab</dc:creator>
		<pubDate>Thu, 03 Jun 2010 14:15:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-39503</guid>
		<description>What is the Difference between symlink and hard link</description>
		<content:encoded><![CDATA[<p>What is the Difference between symlink and hard link</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/comment-page-1/#comment-29041</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Mon, 30 Mar 2009 16:53:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-29041</guid>
		<description>&gt; ln -s /export/space/common/archive /archive
Just what i was looking for. Thanks! </description>
		<content:encoded><![CDATA[<p>&gt; ln -s /export/space/common/archive /archive<br />
Just what i was looking for. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/comment-page-1/#comment-28460</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 05 Mar 2009 22:20:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-28460</guid>
		<description>Maybe you could provide the command syntax to make it a hard link:

ln ../init.d/httpd S77httpd</description>
		<content:encoded><![CDATA[<p>Maybe you could provide the command syntax to make it a hard link:</p>
<p>ln ../init.d/httpd S77httpd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Stiles</title>
		<link>http://www.tech-recipes.com/rx/172/create_a_symbolic_link_in_unix_solaris_linux/comment-page-1/#comment-27454</link>
		<dc:creator>Nathan Stiles</dc:creator>
		<pubDate>Wed, 28 Jan 2009 19:15:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-27454</guid>
		<description>cd /etc/rc2.d
ln -s ../init.d/httpd S77httpd

All rc links should be hardlinks.  This is not a good example.</description>
		<content:encoded><![CDATA[<p>cd /etc/rc2.d<br />
ln -s ../init.d/httpd S77httpd</p>
<p>All rc links should be hardlinks.  This is not a good example.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 2/16 queries in 1.047 seconds using memcached
Object Caching 400/403 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-10 08:48:16 -->
