Linux mount command details, mount command details

Source: Internet
Author: User

Linux mount command details, mount command details

In linux, image files, mobile hard drives, USB flash drives, Windows, and NFS are shared.

Linux is an excellent open-source operating system that can run on various computer systems ranging from huge to small, with the increasing maturity and stability of linux systems and the unique superiority of its open source code, linux has been widely used in the world. Nowadays, many enterprise computer systems are a hybrid system consisting of UNIX, Linux, and Windows systems. Data Exchange is often required between different systems. Next, based on my actual work experience, I will introduce how to mount a CD image file, a mobile hard disk, a USB flash disk, Windows network sharing, and a UNIX NFS network sharing in linux.

Mount command)
Command Format:

  mount [-t vfstype] [-o options] device dir

Where:
1.-t vfstype specifies the type of the document system, which is usually not required. Mount automatically selects the correct type. Common types include:

CD or CD image: iso9660 DOS fat16 document system: msdos Windows 9x fat32 document system: vfat Windows NT ntfs document system: ntfs Mount Windows document network sharing: smbfs UNIX (LINUX) document network sharing: nfs

2.-o options is used to describe the mounting method of a device or file. Common parameters include:

Loop: used to mount a document to the system as a hard disk partition ro: Read-Only mounting device rw: iocharset: used to mount the device read/write: specified character set used to access the document system 3. the device to mount. 4. mount point of the dir device on the system ).

Note: If the type you want to attach is not specified, you may need to specify the type. In this case, you must specify the disk type.

If the disk is empty, you can reformat it to the specified type.

Run the mkfs command.

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.