Common partitioning loading methods in Linux systems:
Mount Mount ISO file:
#mkdir/MNT/ISO1
#mount –o Loop Linuxsetup.iso/mnt/iso1
Linux does not require a virtual optical drive, you can directly read the ISO file.
Mount Mount Optical Drive system
Generally speaking, the CDROM device file is/DEV/HDC, using the method:
If the file contains the Chinese file name or the folder name is all displayed as, and the English display is normal, we can add some parameters to let it display in Chinese. At this point, enter the following command:
#mkdir/mnt/cdrom
#mount/dev/hdc/mnt/cdrom–o iocharset=cp936
By default, the optical drive system is not specified, it can be automatically searched, and the encoding is specified in Chinese.
In the use of Linux mount command mount, we have introduced, you can refer to the following.
Mount Mount Floppy Drive
# Mkdir/mnt/floppy
# Mount/dev/fd0/mnt/floppy
Default file system is not specified, can be automatically searched for
Mount mount Windows shared file (Samba)
#mkdir/mnt/winshare
#mount-T Smbfs-o username=w,password=w,codepage=936,iocharset=gb2312//192.168.0.101/share/mnt/winshare
Specifies the user name, password, and codepage specified to access the share to the same meaning as Iocharset. The Windows system here is Simplified Chinese.
CODEPAGE specifies the code page for the file system, the Chinese code is 936;iocharset specified character set, Simplified Chinese is generally used cp936 or gb2312
Mount Mount U-disk (www.jbxue.com script Academy)
If the computer does not have other SCSI devices and USB peripherals, the device path of the inserted USB drive is/dev/sda1, using the command:
#mkdir/mnt/upan
#mount/dev/sda1/mnt/upan
Mount it.
Mount Mount NFS System
Similar to Windows shared connections. The server-side NFS service needs to be configured correctly. The connection can then be viewed through the client's: Showmount-e 192.168.0.30.
Mount-t NFS 192.168.0.30:/tmp/mnt/nfs
Umount Uninstalling the file system
Umount dir
As above:
Umout/mnt/upan
Or
Umount/dev/sda1