Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-08-2008, 12:58 AM
|
#1
|
Member
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324
Rep:
|
Symbolic links Vs Hard links
Hi all,
AFAIK the following are the differences between symbolic links and
hard links
Is there any other point which I have missed ?
symbolic link
when you try to open a symbolic link which points to a file or change
to one that points to a directory,the command you run acts on the file
or directory that is the target of that link.the target has its own
permissions and ownership that you cannot see from the symbolic link.
The symbolic link can exist on a different disk partition than the
target.
Hard link
It can only be used on files(not directories) and is basically a way
of giving multiple names to the same physical file.
hard links that point to that single physical file must be on the same
partition as the orginal target file.
The files are hard links if they have the same inode number.
|
|
|
09-08-2008, 01:28 AM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
This article I happened to read yesterday has a pretty goo description
http://lwn.net/Articles/294667/
|
|
|
All times are GMT -5. The time now is 02:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|