Thursday, April 26, 2012

Easy learn linux command line- Part 5

Do you Know, How to Mount your Hard Disk or File system?
If not,so you should read this Post and Practice in linux Terminal.


Mounting a Filesystem

Command Description
# fuser -km /mnt/hda2 force umount when the device is busy   
# mount /dev/hda2 /mnt/hda2 mount disk called hda2 - verify existence of the directory '/ mnt/hda2'   
# mount /dev/fd0 /mnt/floppy mount a floppy disk   
# mount /dev/cdrom /mnt/cdrom mount a cdrom / dvdrom   
# mount /dev/hdc /mnt/cdrecorder mount a cdrw / dvdrom   
# mount /dev/hdb /mnt/cdrecorder mount a cdrw / dvdrom   
# mount -o loop file.iso /mnt/cdrom mount a file or iso image   
# mount -t vfat /dev/hda5 /mnt/hda5 mount a Windows FAT32 file system   
# mount /dev/sda1 /mnt/usbdisk mount a usb pen-drive or flash-drive   
# mount -t smbfs -o username=user,password=pass //WinClient/share /mnt/share mount a windows network share   
# umount /dev/hda2 unmount disk called hda2 - exit from mount point '/ mnt/hda2' first   
# umount -n /mnt/hda2 run umount without writing the file /etc/mtab - useful when the file is read-only or the hard disk is full  

No comments: