LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   deleted cdrom by accident (https://www.linuxquestions.org/questions/linux-general-1/deleted-cdrom-by-accident-406/)

chronos 12-13-2000 07:02 PM

I deleted my cdrom by accident and need to know how to add it back in. I issued the command cd /dev && rm cdrom && ln -s scd0 cdrom. and tried cd /dev rm cdrom then entered ln -s hdc cdrom and no avail. Tried dmesg | more and the os does not see my main drive. It sees the burner just fine. Since I assume that all I did was delete the symbolic link would just typing mount /mnt/cdrom then cd /mnt/cdrom that should let me play music correct ? Or just mount /mnt/cdrom to use data cds correct ?
thank you.

Larry James 12-16-2000 06:36 PM

Chronos, you’re right about what you deleted. The cdrom name was, most likely a link to the scsi device. It was linked when your system detected where it was. You can replace this link with ln –s /dev/scd0 cdrom. Then use mount /dev/cdrom /cdrom to mount it. You can put an entry in your /etc/fstab to have it automatically mounted on bootup, if your startup files don’t already do this.

-- L. James


All times are GMT -5. The time now is 03:51 PM.