* Dom Leon (dom6791@yahoo.com) [020711 22:49]: > Could someone please let me know what I can do if I > deleted /dev/cdrom =(( > > Im sure I probably have to reinstall it or something, > but I only have access to the floppy drive. Can I > still do it? Please let me know where I can find > documentation to resolve this... # ln -s $( grep -l cdrom /proc/ide/hd?/media | sed -e 's:.*/\(hd.\)/.*:\1:' ) /dev/cdrom =D Now for deciphering that lovely piece of work: On a typical ide system, /dev/cdrom is simply a symlink to to your IDE cdrom device, usually one of hda, hdb, hdc, hdd. I use grep to figure out which device is the cdrom device. (If you know, on your system, which it is, you can simply do it, e.g. 'ln -s hdc cdrom'.) The sed bit simply changes the output from grep, which looks something like '/proc/ide/hdc/media', to something like 'hdc'. Of course, TMTOWTDI, but this should get you rolling again. good times, Vineet -- http://www.doorstop.net/ -- "Computer Science is no more about computers than astronomy is about telescopes." -E.W. Dijkstra
Attachment:
pgpMhyWPOigmQ.pgp
Description: PGP signature