|
|
using mount_smbfs
'mount -t smbfs' is really just a pointer to 'mount_smbfs', and everything works just fine under 10.1.5 (actually, 10.0 through 10.1.5...), assuming you do things right (i.e. have your permissions set correctly and whatnot).
mounting an smb share should be as easy as: mount_smbfs //user@servername/share /Volumes/share where "servername" is the NetBIOS name of the server (an IP address may also be substituted), "user" is a valid user on that server, and "share" is the name of the share you wish to mount locally (you'll most likely have to create the /Volumes/share directory) I'll also note that if you place your mount in the /Volumes directory, Finder.app will see it, and place an icon for it on the desktop (assuming your Finder preferences are set to place shared volumes on the desktop). If the share isn't appearing on your desktop, use the Go to folder... command in the Go menu in the Finder, and point it to /Volumes, the share will appear on the desktop as soon as you click on its icon in the Finder. doing a manual mount like this will leave Finder.app unable to unmount the share, but if you feel the need to manually mount a share, you should of course be prepared to manually unmount it using: umount /Volumes/share If you are still having troubles unmounting the share, unmount as root: sudo umount /Volumes/share none of this functionality requires anything remotely related to fink, as it is standard Darwin functionality
addendum: using mount_smbfs
You really shouldn't need to manually mount an SMB volume in OSX. From the Finder, in the Go menu, choose Connect to server..., and input:
smb://servername/shareinto the Address field. The only time you should ever need to manually mount a share is if the share name has a space in it, or you need to specify some really weird SMB options, which in most cases, nobody would need to do.
addendum: using mount_smbfs
On the other hand, mounting it manually is a good way to emulate the Windows "reconnect on startup" to networked drives. I can't remember the file offhand, but I already have "special" mounts for my /Users partition, and I'm sure all of the swap-drive hacks are similar. Putting in the mount_smbfs there would connect to the other computer every time you start up. I imagine this would happen for every user, though, which may not be a good thing. Likewise, if the volume is not available, it may not be to graceful when it tries to mount. I'll have to look into this, because my 60GB iMac drive is getting kinda full, and my Windoze-box is near emtpy -- plenty of extra storage there!
addendum: using mount_smbfs
Wouldn't this hint make it easy to create an applescript of some sort that would automatically mount the same share every time. This could be faster than having to use the Go menu.
addendum: using mount_smbfs
You could add it to a .profile/.login, then fire up a shell.
addendum: using mount_smbfs
Sometimes I find it faster to copy files through the command line to windows shares. So, if I'm there, I mount the share that way.
addendum: using mount_smbfs
Use %20 for a space in your shares.
using mount_smbfs: Printing to smb printer shares??
Dandy -- now does anyone know how to print to a samba printer share?
using mount_smbfs
Well, I still maintain there is a bug here. I realize "whatnot" covers a lot of ground, but on any other version of Unix, you can mount a share anywhere you want and unmount it at will. In OS X, you get a cute icon on the desktop if you do a "normal" mount, .e.g. /Volumes/whatever, but if you follow the instructions in the original post, you don't get the icon until you click on the share and then you can't unmount the share. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|