image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old July 11th, 2002, 02:06 PM
Registered User
 
Join Date: Sep 2000
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts
dsnyder is on a distinguished road
smbutil and mount_smbfs

I'm trying to come up with a way to make the process of connecting to Samba shares easier. If I mount them the normal way using the Finder, I can then make an alias to the share, and use this alias to mount that share in the future. However, each time I double-click the alias, I get an error message that says the original could not be found. The share still mounts, but I get the error every time. While this is something I can live with, it will probably just confuse and annoy my users. And, some of my users will need to mount several shares at a time, so it would be nice to just mount them all at once with a single command,

So, I've been playing around with 'smbutils' and 'mount_smbfs' in an attempt to create a scripts that will automate this. I've got them mounting with no problem, but I can't seem to unmount them. From what I've read in the man pages,

smbutil logout //user@host/share

should do the trick. But it doesn't seem to do anything for me. Additionally, if I try to just drag the icon for the share to the trash, I get an error

The operation could not be completed because the disk "xxx" is in use.

and the share stays mounted. It seems that the only way to unmount it is to log out from OS X entirely.

Does anyone have any ideas?

Thanks,

Dave
Reply With Quote
  #2  
Old July 25th, 2006, 12:57 PM
Registered User
 
Join Date: Dec 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
joshuatree is on a distinguished road
three years later...

umount is the command you want. "man umount" contains examples.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 03:11 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.