Mounting Remote Share @ Boot

Dave Hall dave.hall at skwashd.com
Tue May 19 23:43:07 BST 2009


Hi Simon,

On Tue, 2009-05-19 at 12:59 +1000, Paul Gear wrote:
> Simon Ives wrote:
> >
> > I've got a NFS share on my file server that I mount at boot on my client
> > computers.  The share mounts without issue, except on the clients that
> > connect to the network via a wireless connection.  On these computers I have
> > to execute "sudo mount -a" once the network's connected to get the share to
> > mount.  Is there an option to get the share to mount after the network's up?
>
> In my opinion, autofs is a better way to do that.

autofs is pretty old skool by today's standards.

Do you have /etc/network/if-up.d/mountnfs ?  that should take care of it
for you.  When the network interface comes up it should mount the NFS
shares automagically for you.

Cheers

Dave




More information about the ubuntu-au mailing list