LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mounting windows network shares at boot (https://www.linuxquestions.org/questions/linux-networking-3/mounting-windows-network-shares-at-boot-21737/)

TennesseeJeff 05-24-2002 12:03 PM

Mounting windows network shares at boot
 
Am trying to mount shared directories at boot time. The goal is to mount these directories with rw access for users just like they are mapped under win98se on same box. I can mount them after boot with the following line:

mount -t smbfs //speedy1/tunes /mnt/speedy1/Tunes

from root with no problem, (with complete rw access) then log into my user account and access these direcories (alas with ro access).

//speedy1/tunes /mnt/speedy1/Tunes smbfs defaults 0 0

in fstab doesn't work. I get a "need config line" error. Any help would be appreciated.

Thanks

TNJ

sewer_monkey 05-24-2002 12:58 PM

Try

//speedy1/tunes /mnt/speedy1/Tunes smbfs auto,_netdev,user 0 0

auto = mount automatically at boot time
_netdev = requires networking to be running
user = allow any user to mount (up to you)

Also read "man fstab" for more options.


All times are GMT -5. The time now is 09:22 AM.