Mount mount Windows partitions and directories

Source: Internet
Author: User

Transferred from: http://blog.163.com/sg_liao/blog/static/29577083200942811445981/

One, mount the shared directory
sudo mount-t cifs-o Username=liaoxiaohui,password=l23456,iocharset=utf8//server/share/mnt
sudo: Toggle Administrator Execution
Mount: Mount command
-T CIFS CIFS is the shared protocol for Windows,
-O: User information username= user name, password= password (note with, separate user name and password) in the password later there is a, separated
Iocharset=utf8: This parameter allows the mounted Chinese to be displayed correctly.
Server: Name or IP address
/share: Shared directory Name
/MNT: Mounting to a local directory
Two, Mount partitions (FAT and NTFS)
sudo mount-t vfat-o iocharset=utf8/dev/sda1/mnt
sudo mount-t ntfs-o iocharset=utf8/dev/sda1/mnt
-T VFAT:FAT format partition
-T NTFS:NTFS format partition
/DEV/SDA1: First partition on the first SCSI hard drive

Mount mount Windows partitions and directories

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.