Thursday, 13 October 2011

Hard link and soft link in solaris


Difference between hard links and soft link in Solaris

Hard Links :

1. The Links have same inode number.
2. ls -l command shows all the links with the link column(Second) shows No. of links.
3. Links have actual file contents
4. When a permission is changed for one file , it appears to be the same for the other file also.
5. Removing any link just reduces the link count but doesn't affect other links.

Soft Links (Symbolic Links) :

1. Links have different inode numbers.
2. ls -l command shows all links with second column value 1 and the link points to original file.
3. Link has the path for original file and not the contents.
4. If the original file is deleted , the other file becomes an non existent one.

8 comments:

  1. Hi, you're followed. Please follow back. Thanks u

    ReplyDelete
  2. follow you..pls follow back..where you will put my link if we exchange link.

    ReplyDelete
  3. visit here....
    http://aedma9179.blogspot.com/2011/10/salun-cuci-telinga-di-tokyo-aedma9179.html

    ReplyDelete
  4. should try 1st
    http://ffullhousestory.blogspot.com

    ReplyDelete
  5. please visit : http://taufiq-tour.blogspot.com/

    ReplyDelete
  6. i don't get what you write. i don't understand the purpose of what you're writing, i'm a bit lost. i suggest you categorize your posts for easier reading and add some personal insights, pictures and emotions. interesting thing you have here =)

    ReplyDelete