what are soft links and hard links, and differentiate them.
Answers were Sorted based on User's Feedback
Answer / rahmad
soft link :
we can create soft link by using #ln -s command
we can create soft link,if the source file doesnt exist.
If the source file delete,we cannot access the content.But
the link exist.we can create a link file which is belong to
another file system,another directory.
Soft link doesnt share the inode number.if u issue ls -l
command l in the first column display the file is a soft
link.
Hard link:
#ln <source file> <link>
we cannot link the file,if the file doesnt exist.
we can link the file with in a directory.
if the source file delete,we can view the content of the
link file..
Hd share the inode number.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / venus
hard link will be created within the file system and both
have same inode, it is created by using ln command
syntax (ln source destination)
softlink is created across the file system have different
inodes created across the file system,created using
ln -s source destination
if source file is deleted destination will not be executed
detination contains only source path,source and destination
size may be differ from each other
| Is This Answer Correct ? | 3 Yes | 0 No |
how can u give space garentee for volume in netapp storage
How to findout particular file in the backup tape with the help of ufsdump
What is the profile file for ordinary user, when those will execute..?
Are kernel parameters tunable during runtime?
what r the configuration files for SAMBA and how can u configure samba on network with windows machines
What is cachefs?
Major Difference between sparc and X86 systems
What is VTS?
8 Answers Bharti, Sun Microsystems, Suncore Microsystems,
how to change nic card from half duplex to full duplex?
How do you boot from CD-ROM?
If root file system 100% full what you have to do?
Whats the difference between SVM and VxVM? What would you recommend to your clients? why?