Click to See Complete Forum and Search --> : remove symlink from cdrom


panther
03-03-2004, 01:32 PM
Hi guys

I have a symlink to my cdrom in order to play dvd
but I think it causes me a lot of troubles, do you know how I can remove it?
the command that I used was:
ln -s /dev/cdroms/cdrom0 /dev/dvd

serz
03-03-2004, 01:41 PM
rm /dev/dvd

panther
03-03-2004, 01:47 PM
It is not working I am afraid
Perhaps I should say that I am using gentoo, although, I do not think this is relevant


bash-2.05b# rm /dev/dvd
rm: cannot remove `/dev/dvd': No such file or directory
bash-2.05b#

mdwatts
03-03-2004, 02:49 PM
If

ln -s /dev/cdroms/cdrom0 /dev/dvd

was successful, then /dev/dvd should exist.

ls -al /dev/dvd

Mine shows

lrwxrwxrwx 1 root root 3 Jan 3 09:21 /dev/dvd -> hdc

panther
03-03-2004, 03:29 PM
Yes you are alright as you suggest

I recreated my symlink
and this time shows as symlink
I do not know what happened in the past
I made the symlink and I was able to to see dvd
but not cdrom
I willhave to play around now to see what is wrong in my system

:D

thanks