How to Mount Storage Devices in Linux

Mounting a Rom Drive (CD/DVD/CD-RW/DVD-RW)
  • Create a mount point - empty folder to load the data structure of a Storage Device.
# mkdir /media/mycd → (mount point name)
#
ls /media

Mounting
  • Put the CD in to ROM Drive
# mount /dev/cdrom /media/mycd
# cd /media/mycd

# ls -l


To take out the CD (Eject)

# eject
# eject -t


Mounting the FDD
  • Create a mount point
# mkdir /media/myfdd → (mount point name)

Mounting
  • Put the Floppy in to the FDD
# mount /dev/floppy /media/myfdd
# cd /media/myfdd
# ls -l
  • Before you take the floppy out
# unmount /media/myfdd

Mounting a USB Storage Device

Once you fix the USB Drive, It will be automatically detected as a SCSI Storage Device.
Example : dev/sda
  • Create a mount point
# mkdir /media/myusb → (mount point name)
# ls /media
  • Mount
# mount /dev/sda1 /media/myusb
# cd /media/myusb
# ls -l
  • before you unplug the USB Drive
# unmount /media/myusb

0 comments:

Post a Comment