-T vfstype |
Mount the specified device types: adfs, affs, autofs, coda, coherent, cramfs, devpts, efs, ext, ext2, ext3, hfs, hpfs, iso9660, jfs, minix, msdos, ncpfs, nfs, nfs4, ntfs, proc, qnx4, ramfs, reiserfs, romfs, smbfs, sysv, tmpfs, udf, ufs, umsdos, vfat, xenix, xfs, xiafs Common file types, which can have the same Automatic Detection (adfs, bfs, cramfs, ext, ext2, ext3, hfs, hpfs, iso9660, jfs, minix, ntfs, qnx4, reiserfs, romfs, udf, ufs, vxfs, xfs, xiafs, and other file systems). If the test fails,/etc/filesystems is accessed to specify the file system detection. Note: If you are clear about the file system, it is best to specify a specific type. Detection errors can be disastrous. Multiple file systems can be separated by commas (,). Mount-a-t nomsdos, ext Mount the fstab file to specify all the file systems except those of the msdos and ext types. Common File Types
- Ext2 common file systems in linux
- Msdos MS-DOS fat, is fat16 vfat
- Commonly used fat32 in windows98
- Nfs Network File System
- Smbfs windows Sharing System
- ISO CD-ROM CD standard file system
- Ntfs windows NT/2000/XP File System
- Auto automatically detects the File System
|
-O options |
Specify mounting system options: multiple options can be separated by commas (,). Some options make sense only when they appear in the file/etc/fstab. The following options can be used for any file system to be mounted (but not all file systems care about them. For example, option sync is only valid for ext2, ext3, and ufs)
Option |
Description |
Async |
All I/O operations on the file system must be completed asynchronously. |
Atime |
Update the inode access time for each access. This is the default option. |
Auto |
It can be mounted when the-a option is used. |
Ults |
Contains the following options: rw, suid, dev, exec, auto, nouser, async. |
Dev |
Parses character devices or block devices in a file system. |
Exec |
Binary File Execution allowed |
_ Netdev |
File Systems reside on devices that require network connection, avoiding network disconnection and constantly attaching resource consumption. |
Noatime |
Do not update inode access time of the file system (improving the speed of the news server) |
Noauto |
It can only be explicitly mounted.-a cannot mount it. |
Nodev |
Do not parse character devices or block devices in the file system |
Noexec |
It is not allowed to execute any binary files in the loaded file system. |
Nosuid |
The set-user-identifier or set-group-identifier bit is not allowed. |
Nouser |
Disable normal file system mounting (default) |
Remount |
Try to remount a mounted file system. It is usually used to change the Mount tag, for example, from read-only mounting to read-write. |
Ro |
Mounting in read-only mode |
Rw |
Mounting in read/write mode |
Suid |
Allow set-user-identifier or set-group-identifier bits to work |
Sync |
When I/O operations are performed in synchronous mode, data will not be lost due to sudden power failure, but the disk burden is increased. |
Dirsync |
All updates to directories in the file system should be synchronized, affecting the following system calls: creat, link, unlink, symlink, mkdir, rmdir, mknod, and rename |
User |
A common user is allowed to mount the file system. The user name of the user is written to the mtab so that the user can unmount the file system again. This option implies the options noexec, nosuid, and nodev. |
Users |
Allows each user to mount and detach a File System |
Codepage |
Codepage = XXX code page |
Iocharset |
Iocharset = XXX Character Set |
Loop |
Mounting an iso file is often used by a maneuver device. |
Username |
Username = username used by the user to access the device |
Password |
Password = pass password for accessing the device |
The following parameters are only useful for special file systems: |
Uid/gid |
Uid = value and gid = value mount the system with special users and groups |
Ownmask |
Ownmask = value owner permission mask |
Othmask |
Othmask = value othmask permission mask |
Different file systems support different attributes. You can find relevant information |
|