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.