MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
My Mandrake 10.1 works fine for quite a while now.
However, yesterday when I wanted to read a CD, I received
an error message about a missing device.
I looked into this and found these two symbolic links pointing
to each other:
/dev/hdb -> ide/host0/bus0/target1/lun0/cd
/dev/ide/host0/bus0/target1/lun0/cd -> ../../../../../hdb
I don't know what caused this. It used to work fine, but the last
time I used the CD drive was a couple of months ago.
/etc/fstab contains this line:
/dev/hdb /mnt/cdrom auto umask=0022,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
I'm guessing that I need to use mknod to recreate one of
these, but I don't know the major & minor numbers that I
need to use. I failed to find them on the web or on the Mandriva
What are the numbers to use here?
Or, alternatively, is there some tool in Mandrake 10.1
that will recreate the missing device file?
The hints above gave me more ideas what to search for.
I asked Google about Linux device numbers and found a HOWTO that
references a file /usr/src/linux/Documentation/ide.txt
I do not have the kernel source tree, but I did find a version of this file
on the web. It appears that the numbers for device hdb are 3,64
so the command I needed to fix this is "mknod cd b 3 64". The whole
fix is therefore:
# cd /dev/ide/host0/bus0/target1/lun0
# rm cd
# mknod cd b 3 64
To access the file system on the CD that is in the drive, I had to mount it: