[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd and variable network (help needed)



* deloptes <deloptes@yahoo.com> [2016-01-06 15:57 +0100]:

> Brian wrote:
> 
> > Why not try systemd before anticipating any issues? 'init=/bin/systemd'
> > on the kernel command line for trial runs.
> 
> I have tried it - this is the reason I ask the question.
> 
> The nfs share with my home did not mount, so script either did not execute,
> or executed inappropriate.

To mount net devices via fstab an additional option is needed:

_netdev

mount(8):
...
_netdev
              The filesystem resides on a device that
              requires network access (used to prevent
              the system from attempting to mount these
              filesystems until the network has been
              enabled on the system).
...

/etc/fstab:

[nfsserver]:/nfs/share /mount/point/ nfs defaults,_netdev 0 0

Elimar
-- 
 The path to source is always uphill!
                                -unknown-


Reply to: