A free Basic UNIX-training with muLinux
Notes: This Text is roughly translated (German to English) by a translating program. Sorry, but I have not time for the translation. Maybe you can do this.
Access to the CD-ROM Drives
That access to the CD-ROM drive takes place similarly as with the access to diskettes.
A detected CD-ROM drive is gemountet with inserted CD.
Configuration
First we test whether the CD-ROM drive was detected by the Kernel.
In addition we look in the kernelmessages for a line, which contains the word "CDROM":
/# dmesg | grep "CDROM"
hdc: LTN 362, ATAPI, CDROM drive
On my computer the Kernel output the above message. I have thus a LTN 362
ATAPI drive. This information is not further interesting however for the further
work with muLinux. The Kernel detected and can the D-CRcOcM-cDrive thus access.
This message for the integration of the D-CRcOcM-cDrive is important into other
operation systems on this computer muLinux is suitable very well for hardware
recognition. I could access under muLinux old D-CRcOcM-cDrives, for which, e.g.
with DOS, a driver had to be loaded only from the Internet.
The first letters of the message are important, into my example:
hdc.
The device file for my CD-ROM drive is into this case
/dev/hdc.
For IDE drives apply the device files /dev/hda,
/dev/hdb, /dev/hdc or /dev/hdd ,
according to whether the drive is attached at the first or second IDE channel as masters or slave.
With SCSI applies similarly /dev/sda, /dev/sdb,
/dev/sdc etc.
With SCSI has muLinux however his difficulties.
Now we still the support of the type of file ISO9660 should configure.
/# setup -f cdrom
...
Do you want CDROM ISO9660 support? (y/n) [n] y
Enter CDROM_DEVICE [/dev/hdc] [Enter]
loading module: isofs
/#
Mount of the CD-ROM Drive
Now we can insert CD into the drive and mount:
/# mount /dev/hdc /cdrom
/#
With ls /cdrom we see their contents.
Unmount of the CD-ROM Drive
In order to be able to take the CD again from the drive, we must the drive unmount.
/# umount /cdrom
/#
Robert.Warnke@giso.de (copyleft) Robert Warnke, Berlin (Germany) - You can write me in English. | http://rowa.giso.de
|