DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   OS X (http://www.daniweb.com/forums/forum109.html)
-   -   Remount a network drive on reboot (http://www.daniweb.com/forums/thread29765.html)

JeffHeaton Aug 3rd, 2005 11:14 pm
Remount a network drive on reboot
 
I have a networked attached hard drive that I share through my Windows and Mac computers. It makes sharing files really handy. It uses SMB/Samba. On the Windows computer I can click "Reconnect at login" and my drive share always comes back.

But on the Mac I have to remount it each time I reboot. Luckly I don't seem to have to reboot the Mac often, but it would be nice if it could automount. I can't find any option to reconnect it.

Jeff

Cain Aug 4th, 2005 12:41 pm
Re: Remount a network drive on reboot
 
have you tried to connect the remote using smbmount command ?
I dont know if macs can use this..

(you can also stuff this in a users .login file or the like so this happens when you login
just be really certain that this doesnt require user interaction, passes the
password on the command line and has a mountpoint else the system will hang)

smbmount //server/share /path_to_mountpoint -o username=smbuser password=plaintextsmbpasswd


otherwise I would suggest to use nfs and mount it at runtime...


All times are GMT -4. The time now is 8:47 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC