No idea if it would work, but have you tried putting it in /etc/fstab?
Tomasz Chmielewski wrote:
Hello,
I would like to mount a certain share when the server is booted. So I added the following line at the end of rc.local:
/bin/mount -t smbfs -o guest //backup/archiwizacja$ /mnt/archiwizacja
Interestingly, this doesn't mount anything, nothing is added to the logs either.
When I enter this line manually, after server is booted, it is mounted.
# mount -t smbfs -o guest //backup/archiwizacja$ /mnt/archiwizacja # mount (...) //backup/archiwizacja$ on /mnt/archiwizacja type smbfs (0)
It makes no difference if I change the netbios name (backup) to IP address in this rc.local.
Of course rc.local is executed, as other programs from it are ran.
Any ideas?
Tomek
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
