PDA

View Full Version : Mapping to Windows Share via Terminal


HastaLaVista
April 21st, 2006, 12:01 AM
Anyone know what the syntax is for mapping to a Windows share via Terminal?

Thanks.

macbri
April 23rd, 2006, 08:14 PM
Anyone know what the syntax is for mapping to a Windows share via Terminal?

Thanks.

You might try something like this:


mkdir /tmp/winshare
mount -t smbfs //user@servername/sharename /tmp/winshare
... (share is now available as /tmp/winshare)
...
... (and when you're done, disconnect like this:)
umount /tmp/winshare


I only briefly tested this but it worked fine on a G4 powerbook, OS X 10.4.5 connecting to a Win2k fileserver. Hope that helps!!

tomdkat
April 24th, 2006, 12:47 PM
Wow, I didn't know smbfs was supported on OS X. I thought it was supported only on Linux. Thanks for the info!

Peace...

HastaLaVista
April 25th, 2006, 01:05 PM
Thanks for your help. I'll give it a shot.