Another question about Samba and fstab

Pierre Hansson 316097 at gmail.com
Wed Aug 1 19:48:29 UTC 2007


!/bin/sh -e
mount -a
exit 0

Is that correct?

/phx

2007/8/1, Terence Simpson <stdin at stdin.me.uk>:
>
> Pierre Hansson wrote:
> > Hi again everybody, hope you don't mind me "spamming" the list with more
> > question, new to this and trying to learn as much as possible, the plan
> is
> > to migrate all the computers from Windows.
> >
> > Anyway, the following line is from my fstab:
> >
> > //192.168.1.20/Music /home/phx/music smbfs
> >
> auto,workgroup=X,rwx,credentials=/root/.credentials,uid=1000,umask=000,user
> > 0 0
> >
> > Isn't it supposed to mount at boot or have I forgotten something,
> because it
> > doesn't. I have to "sudo mount -a" then the shares show up as they
> should.
> >
> > Thanks for all your help, really appreciate it!
> >
> > /phx
> >
> >
> It's probably not working because mounting at boot is ran before the
> network is setup.
> As a workaround you can either put the mount command in /etc/rc.local or
> put "mount -a" in /etc/rc.local . The 2nd is probably easiest.
>
> Terence
>
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20070801/0ad094de/attachment.html>


More information about the kubuntu-users mailing list