[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Re: Default FTP login on RaQ2/3



--- Jeff Lasman <jblists@xxxxxxxxxxxxx> wrote:
> Fathi Said wrote:
> 
> > Can you tell me, what is the difference between a symbolic and a hard
> link?

[snip]

> Any other suggestions out there?

Ah, I knew my operating systems calss would come in handy one day. :-)

As has been already stated, a symbolic link is a file that points to a
file's location; delete the original and your link is useless. This is
similar to a Macintosh "alias." (A windows 95 shortcut is much weaker.)

Each file in your unix filesystem is represented by an i-node. This is
part of the directory structure. When you create a file, you are creating
an i-node and a hard link from the i-node to the file inside a directory
somewhere (say /home/foo). When you create a hard link using ln (say
/home/bar/lalala), you are creating a second hard link to the i-node. You
aren't creating a second file. Basically, the file is in two places at
once.

More detail:
http://www.penguinteam.org/debian/doc/debian-tutorial/node91.html

Paul

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com