Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between hard link & softlink?

Answers were Sorted based on User's Feedback



What is the difference between hard link & softlink?..

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

What is the difference between hard link & softlink?..

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

Post New Answer

More Unix AllOther Interview Questions

fork()?

2 Answers   TCS,


How to list only the directories inside a directory?

4 Answers  


What steps are required to perform a bare-metal recovery?

1 Answers  


What is the difference between > and >> operators?

6 Answers  


How to recover a system whose root password has lost?

5 Answers   SoftNet,


How do you use Unix for Backend Testing ?

1 Answers   Wipro,


What is 'inode'?

11 Answers   Infosys,


What is paging?

2 Answers   BMC,


What is the number of the masked code ee@?

2 Answers   Accenture, Amazon, Amdocs,


What does iostat do?

4 Answers   IBM,


What is the difference between windows environment and Unix environment ?

8 Answers   Oracle,


What is INODE?

6 Answers   BMC,


Categories