Example usage of Mount Mount command in Linux

Source: Internet
Author: User
Keywords Linux example usage Mount command
Tags example example usage file iso linux

FAT32 partition

Mount-o Codepage=936,iocharset=cp936/dev/hda7/mnt/cdrom

NTFS partitions

Mount-t Ntfs-o Codepage=936,iocharset=cp936/dev/hda7/mnt/cdrom

ISO file

Mount-o Loop/abc.iso/mnt/cdrom

Floppy

Mount/dev/fd0/mnt/floppy

usb

Mount/dev/sda1/mnt/cdrom

CD Optical Drive

Mount-t Iso9660-o Iocharset=cp936,ro/dev/cdrom/mnt/cdrom

DVD drive
Mount-t Iso9660-o Iocharset=cp936,ro/dev/dvd/mnt/cdrom

Or

Mount-t Udf/dev/dvd/mnt/cdrom

Note: The format of the DVD is generally one of iso9660 or UDF

Should you use Fdisk-l/DEV/SD on a computer that has a SCSI hard drive? To see exactly which device the USB flash drive is under (usually SDB1 or SDC1).

All fstab content mount–a, this command can also specify the file format "-t format", the format can be VFAT, EXT2,EXT3, etc.

For example, to automatically hang Windows D disk to/mnt/d, open fstab with VI, add the following line/dev/hda5/mnt/d vfat defaults,codepage=936,iocharset=cp936 0 0

Note that you first have to manually create a/mnt/d directory

Related Article

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.