CentOS common mounting commands

Source: Internet
Author: User
Attach a disk named hda2 to ount/dev/hda2/mnt/hda2-confirm the Directory & #39;/mnt/hda2 & #39; an existing umount/dev/hda2 detach a disk named hda2-first from the Mount point & #39;/mnt/hda2 & #39; exit fuser-km/mnt/hda2 when the device is busy, force uninstall umount-n/mnt/hda2 to run the detach operation without writing it into ount/dev/hda2/mnt/hda2 and mount a device named hda2 -confirm that the directory '/mnt/hda2' already exists.
Umount/dev/hda2 detach a disk named hda2-first exit from the Mount point '/mnt/hda2'
Fuser-km/mnt/hda2 force uninstall when the device is busy
Umount-n/mnt/hda2 run the unmount operation without writing the/etc/mtab File-This operation is useful when the file is read-only or when the disk is full
Mount/dev/fd0/mnt/floppy mount a floppy disk
Mount/dev/cdrom/mnt/cdrom to mount a cdrom or dvdrom.
Mount/dev/hdc/mnt/cdrecorder to mount a cdrw or dvdrom
Mount/dev/hdb/mnt/cdrecorder to mount a cdrw or dvdrom
Mount-o loop file. iso/mnt/cdrom mount a file or ISO image file
Mount-t vfat/dev/hda5/mnt/hda5 mount a Windows FAT32 file system
Mount/dev/sda1/mnt/usb disk mount a usb disk or flash memory device
Mount-t smbfs-o username = user, password = pass // WinClient/share/mnt/share mount a windows network share

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.