Linux 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 documentation system: vfat
Windows NT ntfs document system: ntfs
Mount Windows document network sharing: smbfs
Network Sharing for UNIX (LINUX) documents: nfs
2.-o options is used to describe the mounting method of a device or file. Common parameters include:
Loop: used to connect a document to the system as a hard disk partition.
Ro: mounting a device in read-only mode
Rw: mounting a device in read/write mode
Iocharset: Specifies the character set used to access the Document System
3. the device to be mounted.
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.
This article permanently updates the link address: