Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can anybody explain to me (and perhaps some others too) why one would use Samba and not mount VFAT drives in Linux?
If there are more Win machines in a net than Linuxes, does that affect decision? Say you have a RH box that is available to some Win boxes, do you ned Samba to make the Win boxes see the Linux disk(s)? What about the other way? If you want to show to the Linux box drives C and D of PC#1, what would the steps be?
I jogged thru a number of Samba/Networking related threads in another discussion group and it seems like it is not that difficult to set samba up. Let's ignore the physical side for now and assume I have a machine called PC1 and PC2 running Wk2. They have drives C, D and E. What commands would I need to stick into etc/fstab to get these mounted? The /mountpoint always puzzles me, would I do a MKDIR /MNT/PC1 and then connect the SAMBA thing to this using //PC1/C /MNT/PC1 or what? What about the other way around, from PC1 to LINUXPC? What is needed at that end?
You DO NOT need Samba to mount a physical drive, regardless if it is VFAT, FAT, NTFS, or whatever. If you have a drive in your machine that has Windows on it, all you do is mount the drive
mount -t auto /dev/hdc1 /mnt/windows <--- or whatever you want to call it
Samba is only used for network shares.. it has nothing to do with mounting those local drives. In the case above, that would only work for networked PCs...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.