cifs was Re: Mounting windows folders as drives

Garrett Klein garrettklein at comcast.net
Wed Apr 19 17:15:24 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

	On the subject of mounting network windows shares, I figured out something cool last night. If anyone's ever tried mounting, say, their work fileserver and it runs Windows Server 2003, they've gotten an error about packet signing being disabled (assuming you're doing something like mount -t smbfs //path/to/share). There is actually a separate mount.cifs program which is included with grml (and thus most likely Debian). Slackware doesn't have it, but if you google for "cifs vfs" you'll find it. What I can now do for my school's network drive is the following... though it's on GRML so it'll be a bit different for you people.
mkdir /mnt/cifs
mount -t cifs -o user=ima74a,uid=1000,gid=1000 //domain.isbrockets.org/students /mnt/cifs
This gives me access to, amung other things, my home directory on the school's network. Very cool indeed!

Garrett
On Tue, Apr 18, 2006 at 12:41:54PM -0700, Steve Holmes wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
> 
> That could be a good point.  Actually, if network mounting is in order,
> it should be smbmount instead.  If you use mount, you would have to
> specify a mount type like smbfs or something.  If mount can be used with
> samba now, then that's something new I didn't know.  Yes, I was
> interpreting the original question as if it were on the same machine.
> 
> On Tue, Apr 18, 2006 at 12:50:30PM -0500, Thomas Stivers wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: RIPEMD160
> > 
> > On Mon, Apr 17, 2006 at 08:14:57 PM -0700, Steve Holmes wrote:
> > > Assuming your windows partition is a FAT 32 as opposed to FAT 16, use a
> > > mount command like this:
> > > mount -t vfat /dev/hda3 /mnt/mp3
> > > Note: I assumed your windows partition was located on /dev/hda3 and a
> > > subdirectory of mp3 exists under the /mnt directory.  Look over and read
> > > carefully the manpage for mount.  It will tell you a lot.  
> > 
> > I may be misreading the original question, but I took it to mean
> > mounting a shared folder from another box. Steve's directions are good
> > for mounting a local drive or partition. If its a network share use
> > 
> > mount //<box_name>/<share_Name> /mnt/something
> > 
> > Where <box_name> and <share_name> are the names of the netbios name and
> > folder name on windows box respectively.
> > 
> > This assumes you have samba installed and working and the share is
> > visible from the linux box of course.
> > 
> > - -- 
> > "Debugging is twice as hard as writing the code in the first place.
> > Therefore, if you write the code as cleverly as possible, you are,
> > by definition, not smart enough to debug it." - Brian W. Kernighan
> > 
> > Thomas Stivers	e-mail: stivers_t at tomass.dyndns.org
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.3 (GNU/Linux)
> > 
> > iD8DBQFERSbl5JK61UXLur0RA5KCAJ4xxneTx6/LKAVFubwuztdXFIhMSwCeO/FL
> > gG8dFvPY7JulbjnBz1L+azw=
> > =R2d4
> > -----END PGP SIGNATURE-----
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > 
> > 
> 
> - -- 
> HolmesGrown Solutions
> The best solutions for the best price!
> http://ld.net/?holmesgrown
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.7 (GNU/Linux)
> 
> iD8DBQFERUEBWSjv55S0LfERA38RAJ41EjqVcPoVlqA3a+P9AP1CIuV2UQCg8Fsz
> vHDkenBXiz05ijz+Td/ZmDU=
> =oayF
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iQIVAwUBREaobPQ3GgYHRr/HAQJW2A//aGRjTiyipV0rF3BLHLC3R1ZKthE8XDpn
w9+S46NLDs+90PxTU8cowCeTps8MvcJ13QzQ+GwD6ez8FhkPHR8yXl+mJhdtEtjg
ZRu+UN/bMIjTl8G9GVHbGB9rHzGP3CfHTO5jiOVNZJh23jgW4q9kim1OhNOmjP+n
/iWRcY6sycyUz5aZeRtN9KKP+5vq9BHpLFosltDMKFBpvzZDEzQBOpaHVGI3RjIr
OGVbHEMA8qcmmLtjZZ1sjis7n2eUyz2f+ZNbWS/HVfWa4p+BZGRUkEr/4NdIlCKW
JfDCWcdmYPEvXWhWS077uWDT/RuE0oEJKlsSUrwrKRHmo8lsSLjYtHCa+8UxUzr0
3BjmV45WW+meFopYezeCnXsHXRcKgJGY6mRWCRdoevnr8epI1btxFbP4fidzjJFr
GPGz01iR7hxXPYYkZtJUBOY4AjAh0XWg2Vr/Q64rtAh7Y99gNBdV/T4a/hS0d7j+
2gVAaQaLXCTkI5E8vB0lmTSGwrCp+lV91ecro18oaSzJVL+bsHfdejzgQZyeQAPk
MPVtrrA1TGw+JXKIYdvbG82C9/eP1jI5HA2eIzAoFq2F6jXes41Im5sweOpEZfy2
C15QTIbD7DBiV6usdLnKygMkx3WwgxV0gHYLFtnrZpbzJ2pY+wTE6s/l508rOV6Q
deNM2l/setc=
=EPQ3
-----END PGP SIGNATURE-----




More information about the Speakup mailing list