[Samba] Can't use mount command with samba

Chris Gonnerman chris at newcenturycomputers.net
Wed Jun 11 21:27:07 GMT 2003


Rohan Parkes wrote:

>On Wed, 2003-06-11 at 17:02, Vizitiu, Ciprian wrote:
>  
>
>>>Another article stated that I could mount samba shares using 
>>>fstab. But when I tried this, I encountered the problem that 
>>>the network interface wasn't up in time.
>>>      
>>>
>>Try automount.
>>    
>>
>At the moment, I'm just running a script at boot up that executes the
>mount commands. I got the idea from a page on JustLinux. Crude, perhaps,
>but it's more in line with what I wanted.
>
>I could try automount. The mistake I made in fstab, however, was not to
>specify noauto, so that the shares wouldn't get mounted immediately.
>However, I couldn't find parameters that would cause them to get mounted
>on request.
>
Can't do it that way as far as I know.  "On request" basically means 
"automount."

There is an rc-file (in /etc/rc.d or equivalent for your Linux distro) 
that mounts NFS
shares after the network interface is up.  You could do similar for SMB 
file systems.

-- Chris.






More information about the samba mailing list