site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=bUvvilCy5KDeWgmsaru4hnhGCy/l6acMG4gZGoPLiElwWiEaU2fRmnP0ikYo/SvaagJN48MGHfnNvYyMNhUZhr238V1Eb8NS2dvH5jfRaaorYp/dVDyPqRdpmcJtO2nkH01rnFtIIBBwKM/Fg42cI2545lyFlQ7TTZQT+O15JNs= Hi all, I have noticed the discussed issue myself. I use something like: /sbin/mount_smbfs //$USER:$PASSWD@$HOST/$NAME /Volumes/$NAME open "$MOUNT_POINT" How can I make my bash shell scripts that mount smb shares (using mount_smbfs ) work properly with finder? On Thu, 28 Oct 2004 07:36:06 -0500, Paul Nelson <nelson@thursby.com> wrote:
Are you aware of how disk arbitration works?
No.
You got the volume mounted using mount_smbfs, but the Finder did not know this happened. The disk arbitration stuff is what does this. There are some calls to make to disk arbitration to get the Finder to notice the new volume.
But finder shows the mounted share, and browses it... which intuitively tells me that finder noticed that it has a new volume on the filesystem tree. Only size of share, dirs, files, and write capabilities are incorrect. And why should finder behave differently from the shell? Its just a diferent front end to the same file system.
From: "Van Vlierberghe, Steven" <SVV@esko-graphics.com> Date: Thu, 28 Oct 2004 10:31:40 +0200 To: <darwin-dev@lists.apple.com> Subject: RE: mount_smbfs - Finder - write access mismatch
Thanks for the reactions and the tips.
I have tried with osascript -e 'tell application "Finder" to mount volume "smb://host/share"' and now it works like expected.
what is osascript?
Conclusion: although I use the documented mount_smbfs command, the Finder looks confused after mounting a Windows share in this way. IMHO, this should be considered as a bug in the Finder.
I agree.
kind regards steven _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/nelson%40thursby.com
This email sent to nelson@thursby.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/miguel.filipe%40gmail.com
This email sent to miguel.filipe@gmail.com
-- Miguel Sousa Filipe _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com