Saturday, August 17, 2013

Mounting a ROM & USB


Mounting a ROM drive


01. Create a mount point – A place to load the data structure of the storage device (One time only)

[root@daddylinux~]# mkdir /media/cdrom

02. See a mount point
[root@daddylinux~]# ls -l /media

03. Verify the device driver assigned to your ROM
[root@daddylinux~]# ls -l /dev/cd*
eg - /dev/scd0 , /dev/scd1 , /dev/scd2

04. Mounting the ROM
[root@daddylinux~]# mount /dev/scd0 /media/cdrom

05. See the ROM data
[root@daddylinux~]# cd /media/cdrom
[root@daddylinux~]# ls –l

06. To take out the media
[root@daddylinux~]# cd
[root@daddylinux~]# eject
[root@daddylinux~]# eject /dev/scd0

07. To take in the media
[root@daddylinux~]# eject –t
[root@daddylinux~]# eject -t /dev/scd0
 
 
==================================================================== 


Mounting a USB pen

01. Create a mount point – A place to load the data structure of the storage device (One time only)
[root@daddylinux~]# mkdir /media/usb

02. See a mount point
[root@daddylinux~]# ls -l /media

03. Fix the pen and verify the device driver assigned (sdb, sdc, sdd)

04. Mounting the USB
[root@daddylinux~]# mount /dev/sdb1 /media/usb

05. See the pen drive data
[root@daddylinux~]# cd /media/usb
[root@daddylinux~]# ls –l

06. Before you unplug the pen
[root@daddylinux~]# cd
[root@daddylinux~]# umount /dev/sdb1

0 comments: