Home > Article > Operation and Maintenance > How to mount linux
If other files outside the root file system can be accessed, they must be "associated" to a directory on the root file system. This association operation is "mounting", and this directory is " Mount point", the process of dissolving this association is called "uninstalling"
Mount command (mount) (Recommended learning: linuxOperation and Maintenance)
First of all, let’s introduce how to use the mount command. The mount command has many parameters. Here we mainly talk about the ones we will use today.
Command format:
mount [-t vfstype] [-o options] device dir
Among them:
1. -t vfstype specifies the type of file system, which usually does not need to be specified. mount will automatically select the correct type. Commonly used types are:
CD or CD image: iso9660
DOS fat16 file system: msdos
Windows 9x fat32 file system: vfat
Windows NT ntfs file system: ntfs
Mount Windows file network share: smbfs
UNIX(LINUX) file network share: nfs
2.-o options are mainly used to describe the mounting method of devices or files. Commonly used parameters are:
loop: used to mount a file on the system as a hard disk partition
ro: mount the device in read-only mode
#rw: Mount the device in read-write mode
iocharset: Specify the character set used to access the file system
3.device to be mounted (mount) equipment.
4.dir The mount point of the device on the system.
The above is the detailed content of How to mount linux. For more information, please follow other related articles on the PHP Chinese website!