Mount usage-common partition loading methods

Source: Internet
Author: User
Mount usage-common partition loading method mount mounting iso files: Shell code # mkdir/mnt/iso1 # mount & amp; ndash; olooplinuxsetup. iso/mnt/iso1 can directly read iso files without the virtual optical drive in linux. Mount an optical drive system... mount usage-common partition loading method mount mounting the iso File: Shell code # mkdir/mnt/iso1 # mount-o loop linuxsetup. iso/mnt/iso1 can directly read iso files without the virtual optical drive in linux. In general, the file of the CDROM device is/dev/hdc. usage: If the file contains a Chinese file name or all the folder names are displayed ?, While the English display is normal, we can add some parameters for it to display Chinese. Enter the following command: Shell code # mkdir/mnt/cdrom # mount/dev/hdc/mnt/cdrom-o iocharset = cp936 by default, the optical drive system is not specified and can be searched automatically, mount the Shell code # mkdir/mnt/floppy # mount/dev/fd0/mnt/floppy without specifying the file system by default, you can automatically search for the mount mounted windows shared file (samba) Shell code # mkdir/mnt/winshare # mount-t smbfs-o username = w, password = w, codepage = 936, iocharset = gb2312 // 192.168.0.101/share/mnt/winshare specify the user name and password used to access the shared data. codepage specifies the same encoding as iocharset. The windows system is simplified Chinese. Codepage specifies the code page of the file system. The Chinese code in Simplified Chinese is 936. iocharset specifies the character set, in simplified Chinese, the usb flash disk is mounted with cp936 or gb2312 mount. if the computer does not have other SCSI devices or usb peripherals, the path of the inserted usb flash disk is/dev/sda1. run the following command: shell code # mkdir/mnt/upan # mount/dev/sda1/mnt/upan mount. Mount nfs mounting is similar to windows shared connections. You must correctly configure the nfs service on the server. Then, you can view the connection through showmount-e 192.168.0.30 on the client. Shell code mount-t nfs 192.168.0.30:/tmp/mnt/nfs umount unmount the file system umount dir as above: Shell code umout/mnt/upan or Shell code umount/dev/sda1
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.