Best of Technical Support

Our experts answer your technical questions.
I Have No /dev/cdrom and I Must Mount

I erased my /dev/cdrom by mistake and I can't do mkdir to replace it because it must be a block mode file. Do you know how I can remount my CD-ROM? —Yves, cloude7@hotmail.com

/dev/cdrom is usually a symbolic link to one of the disk drives detected at boot. Find the device for the CD-ROM with dmesg | grep CDROM (e.g., mine says hdc: YAMAHA CRW8424E, ATAPI CDROM drive). Then create the link with cd /dev ln -s hdc cdrom. However, if you are using an IDE CD-W, then it will be something like cd /dev ln -s scd0 cdrom rather than hdc. —Keith Trollope, keith@wishing-well.demon.co.uk

______________________

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Upcoming Webinar
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
11am CDT, April 29th
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot