What is the difference between hard link & softlink?
Answers were Sorted based on User's Feedback
Answer / martin joseph
A hard link cannot span file systems; it can only point to
another file located within its file system. The reason is
that hard links all share an inode number. Each file system
has its own set of inode numbers; therefore, a file with
inode number 3588 in the /export/home file system may not
even exist in the /var file system.
You cannot create a hard link unless the source file
already exists.
Symbolic links are used for shortcuts.Symbolic links can
point to files anywhere on the network. The file or
directory could exist in another file system, on another
disk, or on another system on the network.
Another advantage of symbolic links over hard links is that
a symbolic link can link directories or files, whereas a
hard link can link only files
| Is This Answer Correct ? | 35 Yes | 2 No |
Answer / jitendra
Answer
# 1 A hard link cannot span file systems; it can only point
to
another file located within its file system. The reason is
that hard links all share an inode number. Each file system
has its own set of inode numbers; therefore, a file with
inode number 3588 in the /export/home file system may not
even exist in the /var file system.
You cannot create a hard link unless the source file
already exists.
Symbolic links are used for shortcuts.Symbolic links can
point to files anywhere on the network. The file or
directory could exist in another file system, on another
disk, or on another system on the network.
Another advantage of symbolic links over hard links is that
a symbolic link can link directories or files, whereas a
hard link can link only files
| Is This Answer Correct ? | 19 Yes | 5 No |
How to give root privileges without using SU/sudor ?
I am trying to unmount a remote file system,but I do not unmount that file system.How can i know the user name (i.e.,user who is using that file system).....write the command with argument
Which is the most commonly used replacement algorithm?
0 Answers Aditi Placement Service,
What is file constructing in UNIX/AIX ?
process id for kernell process?
What does the ?route? command do?
i am prepairing for 2+ yrs exp in oracle/unix production support,can u tell me which type issue comes in server plz help
What is FTP?
How does the inode map to data block of a file?
What is default permissions for others in a file?
does the stat() function call use the inode of the file to generate the information about a file? what is inode mostly used for?
what is the time for incident, problem and change management tickets?