954,224 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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

JeffHeaton
Junior Poster in Training
58 posts since Jul 2005
Reputation Points: 12
Solved Threads: 0
 

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...

Cain
Posting Whiz in Training
298 posts since Aug 2004
Reputation Points: 18
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You