Stil nothing playing...
Steven Anker
steven at frog.nl
Wed Oct 24 12:26:55 CEST 2001
On 2001.10.24 11:49 John Marr wrote:
> If I already have a /dev/cdrom, can I add another symbolic link with the
> same name? If I look for the output of /dev/cdrom, will I get the output
> for
> both /dev/cdrom and /dev/dvd??
>
I know you already have a /dev/cdrom. That is the target of the link. The
name of the link is /dev/dvd. This means that /dev/dvd will be another
name for the same file (or in our case device). So /dev/cdrom and /dev/dvd
will behave exactly the same.
So when you make a link (use the way Tom mentioned. That's easier) and
then go to /dev/ and type
"ls -l cdrom dvd" you should get something like this:
lrwxrwxrwx 1 root root 3 Apr 25 14:21 cdrom -> hdc
lrwxrwxrwx 1 root root 5 Jun 8 20:49 dvd -> cdrom
Here you can see that dvd is a link to cdrom and cdrom is a link to hdc.
You can never make two or more links with the same name, because that is
the same as making two or more files with the same name. Which is not
possible. You can have multiple links that point to the same target.
Steven Anker
e-mail: steven at frog.nl
---------------------
Frog Navigation B.V.
Cartesiusweg 120
3534 BD Utrecht
The Netherlands
tel: (+31)30-2440550
More information about the vlc
mailing list