Contact us |
Using and mounting devicesIn order to be able to use some devices (mostly block type devices) in Linux, they need to be mounted.In this exercise you will mount the “mycdrom” device you created earlier. To mount the mycdrom device1. Type the “mount” command without any arguments, to list the devices currently mounted: [root@localhost root]# mount /dev/hda1 on / type ext3 (rw) none on /proc type proc (rw) /dev/hda3 on /home type ext3 (rw) none on /dev/shm type tmpfs (rw) The above output shows that there is currently no folder mounted at “/dev/hdc” or “/dev/cdrom” 2. Make sure you are in the “~/mydevices” directory. 3. You will now mount the “mycdrom” device at the /mnt folder, using the iso9660 file system.(you should of course place an actual cdrom media in the drive tray). Type: [root@localhost mydevices]# mount –t iso9660 mycdrom /mnt mount: block device mycdrom is write-protected, mounting read-only 4. Change directory to the new mount point “/mnt” and list it’s contents. QUE:What are the first 2 files on the cdrom?
|
Login... |