How Linux mounts Windows shared folders or the hard disk partition of your XP computer __linux

Source: Internet
Author: User

Http://www.cnblogs.com/xmphoenix/archive/2011/08/17/2143291.html

Long time no use of samba, just need to mount a Windows share under the FEDORA9, ready to use Smbmount, execute smbmount when the hint does not have this command, the system Samba also installed Ah, why not it, Google did not know, This concept has not been smbmount since FEDORA9, but it is using CIFS (Common Internet File systemcifs), which means that after that, the system can mount Windows sharing directly using the Mount plus parameter cifs. .

How to use:

First, add a shared folder to your XP PC Linux
#mount-T Cifs-o username=fish,password=fish//192.168.1.10/linux/mnt/linux

That's it, it's convenient.

But if you want to mount your hard drive partition, also set your hard drive partition D for sharing but the main your share name must be English

#mount-T Cifs-o username=fish,password=fish//192.168.1.10/ld/mnt/d

And that's okay.

If you're going to unload something that you're mounting

#umount/mnt/linux

#umount/mnt/d

It's okay.

Note:

To illustrate that CIFS is a generic protocol for MS, the CIFS protocol is used by network neighbors under Windows to access other computers.


#mount-T Cifs-o Username=eric,password=123456,nounix,noserverino//192.168.1.10/media/mnt/media


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.