> -----Original Message-----
> From: Charlie Brady [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 26 October 2001 2:13 AM
> To: David Brown
> Cc: [EMAIL PROTECTED]
> Subject: RE: [e-smith-devinfo] apcupsd
>
>
> Now let's consider a symbolic link.
>
> [charlieb@vegemite tmp]$ ls -li
> total 8
> 736500 -rw-rw-r-- 2 charlieb charlieb 4 Oct 25 12:35 afile
> 736500 -rw-rw-r-- 2 charlieb charlieb 4 Oct 25 12:35
> anotherfile
> 736501 lrwxrwxrwx 1 charlieb charlieb 5 Oct 25 12:37
> symlink -> afile
> [charlieb@vegemite tmp]$
>
> You can see here that the symbolic link (symlink, so-called "soft" link)
> has its own inode number. A symlink is a special type of file - one which
> contains the *name* of another file (or directory). This special type of
> file is interpreted automatically by the operating system, and the file or
> directory pointed to is accessed when the symlink is accessed.
>
> Here endeth the lesson...
And if you delete a hardlink, you also delete the parent (same inode) but
you can freely delete a symlink without deleting the parent.
Rob.
--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org