Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.


  Search this Thread
Old 09-29-2012, 08:30 PM   #16
Senior Member
Registered: Aug 2009
Distribution: CentOS
Posts: 2,890

Rep: Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238

Originally Posted by jlliagre View Post
with hard links, you need to explore the whole file system to find files sharing the same inode.
With soft links, if you want to find out what other soft links point to the same file you need to explore the entire universe. (One could be on a USB flash drive in the back of a desk drawer in an office down the hall.)

For added enjoyment, consider a soft link that itself has multiple hard links. A soft link is, after all, an inode, and nothing says it can't be referenced by more than one directory entry. The real fun starts if it is a relative symlink. Now you've got a symlink that resolves to one of several places depending on the directory from which it was referenced.
Old 09-30-2012, 03:42 AM   #17
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,634

Rep: Reputation: 390Reputation: 390Reputation: 390Reputation: 390
Yes, another feature available with symlinks but not with hard links is the possibility to create relative links.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
removing a soft link quietguy47 Linux - General 3 12-31-2011 09:34 PM
how to copy soft link hongxing Linux - Software 5 02-24-2010 07:14 AM
Soft Link and Hard Link Moataz Red Hat 1 04-25-2005 06:30 AM
Wat is a Soft Link? wed3k Linux - Newbie 2 08-19-2003 01:23 PM
Soft link help Pyroknight Linux - Newbie 1 02-06-2003 06:21 PM

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration