It is of great learning value to introduce the usage and application of the Linux mount command. Here I will mainly explain the application of the Linux mount command, including the knowledge of the Linux mount command. Linux mount command is used to mount hard disks or images ).
Usage: Linux mount Command [-t vfstype] [-o options] device dir1.-t vfstype specifies the type of the file system, which is usually not required. The Linux mount command automatically selects the correct type. Common types include:
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 sharing: smbfs
Network Sharing for UNIX (LINUX) files: nfs
2.-o options is used to describe the mounting method of a device or file. Common parameters include:
Loop: used to connect a file 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 file system
3. the device to mount the Linux mount command.
4. mount point of the dir device on the system ). 3 monut remote or local windows partition supported by NTFS format:
1) According to the kernel installation ntfs support module: http://sourceforge.net/projects/linux-ntfs/files/
Specific process help: http://gerardmcgarry.com/blog/hacking-centos-ntfs-support
Instance: sudo mount-t cifs // remotehostname/shared/mnt/myshared-o username = XXX, password = XXX
2) install ntfs-3g ----- yum install ntfs-3g (fuse-ntfs-3g)
Reference: http://www.zzdushi.com /? P = 30
Reference: http://ntfs-3g.org/
Specific process help: http://wiki.centos.org/TipsAndTricks/NTFS
Instance: mount-t ntfs-3g/dev/sda1/mnt/windowsumount/mnt/windows)
3 instances:
Linux mount command to mount the local iso: mount-o loop-t iso9660/home/sunky/mydisk. iso/mnt/vcdrom mount the remote shared directory of fat32: mount // 10.167.20.20/shared/mnt/mywinmtr Windows C partition mounted to the/mnt/winc directory of Liunx: mount-t vfat/dev/hda1/mnt/winc. If the problem is displayed in Chinese, # mount-t vfat-o iocharset = cp936/dev/hda1/mnt/winc. To mount a local windows partition, run the sudo fdisk-l command under ubuntu to view the partition information .) After a flash disk is inserted, the flash disk is identified as a SCSI disk. Generally, run the following command: mount/dev/sda1/usb.
- The most basic commands in the Linux mount command
- Linux vmstat process information and memory information
- Ubuntu Linux is more powerful, faster, and better
- Update list of Linux yum installation package
- High-performance servers and monitoring required for Linux System Administrators