LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 09-07-2008, 11:58 PM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question 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.
 
Old 09-08-2008, 12:28 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
This article I happened to read yesterday has a pretty goo description

http://lwn.net/Articles/294667/
 
Old 10-02-2008, 07:03 AM   #3
muasif80
Member
 
Registered: Oct 2008
Posts: 54

Rep: Reputation: 15
Hi,

You can see the following link for a discussion of symbolic vs hard link. It also has some useful urls for the same subject. Thanks

http://linux-certification.blogspot....-symbolic.html
 
  


Reply

Tags
hard, symbolic, symlink



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
technical question about hard links v soft links 7stud Linux - Newbie 2 02-23-2007 06:57 PM
links (hard links and soft links..) sachitha Programming 1 08-10-2005 12:10 PM
Sym links and hard links akudewan Linux - Newbie 4 02-09-2005 05:08 AM
Symbolic and hard links Ciccio Linux - General 1 12-16-2002 02:10 PM
symbolic links winger Linux - General 5 04-06-2002 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration