Linux mount command system mount and image processing

  

Introduce the use of Linux mount command and application is very valuable, here I mainly explain the application of Linux mount command, including the introduction of Linux mount command knowledge. Linux mount command (used to mount a hard disk or image, etc.). Usage: Linux mount command [-t vfstype] [-o options] device dir1.-t vfstype Specifies the type of file system, usually does not have to be specified. The Linux mount command will automatically select the correct type. Common types are: CD or CD image: iso9660DOS fat16 file system: msdosWindows
9x fat32 file system: vfatWindows NT ntfs file system: ntfsMount Windows file network share: smbfsUNIX (LINUX) File network share: nfs2.- o options are mainly used to describe how devices or files are attached. Commonly used parameters are: loop: used to attach a file as a hard disk partition on the system ro: use read-only mode to mount the device rw: use the read-write mode to mount the device iocharset: specify the character set used to access the file system 3.device A device that mounts the Linux mount command. 4.dir The mount point of the device on the system. 3 monut remote or native Windows partition NTFS format support: 1) install ntfs support module according to the kernel: linux-ntfs/files/">http://sourceforge.net/projects/linux-ntfs/files/instance :sudo mount -t cifs //remotehostname/shared /mnt/myshared -ousername=XXX,password=XXX2)Install ntfs-3g----- yum install ntfs-3g(fuse-ntfs-3g)Instance: mount -t Ntfs-3g /dev/sda1 /mnt/windows(umount /mnt/windows)3 Example: Linux mount command mounts the machine's iso:mount -o loop -t iso9660 /home/sunky/mydisk.iso /mnt/vcdrom Mount the shared directory of the remote fat32: mount //10.167.20.20/shared /mnt/mywinshareWindows The C partition is hung to the /mnt/winc directory of Liunx: mount -t vfat /dev/hda1 /mnt/winc , if Chinese There is a problem: #mount -t vfat -o iocharset=cp936 /dev/hda1 /mnt/winc.(To mount the local windows partition, use sudo fdisk -l under ubuntu to view the disk partition.) After the flash drive, the flash drive is recognized as a SCSI disk. Usually enter the following command: mount /dev/sda1 /usb

Copyright © Windows knowledge All Rights Reserved