Title:

A free Basic UNIX-training with muLinux

Home
deutsch
  
ISBN: 3836213664   ISBN: 3836213664   ISBN: 3836213664   ISBN: 3836213664 
 
  Wir empfehlen:       
 
[Back] [Home] [Forward]       http://rowa.giso.de  

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 
/# _
[Back] [Home] [Forward]      

Robert.Warnke@giso.de (copyleft) Robert Warnke, Berlin (Germany) - You can write me in English. | http://rowa.giso.de
  
Linux-Unix-Programmierung: Das umfassende Handbuch (Gebundene Ausgabe)
von Jürgen Wolf
Siehe auch:
Shell-Programmierung: Das umfassende Handbuch
C++
von A bis Z / Mit CD-ROM: Das umfassende Hand...
C
von A bis Z. Das umfassende Handbuch für Linux,...
Qt 4 - GUI-Entwicklung mit C++: Das umfassende Ha...
Eclipse für C / C++-Programmierer: Handbuch z...
Linux: Das umfassende Handbuch
 
   
 
     

Back to the topic site:
StudyPaper.com/Startseite/Computer/Informatik

External Links to this site are permitted without prior consent.
   
  Home  |  deutsch  |  Set bookmark  |  Send a friend a link  |  Copyright ©  |  Impressum