Hi, On 07/06/2010 11:40 AM, Nicolas Pierron wrote:
> On Tue, Jul 6, 2010 at 11:17, Eelco Dolstra <[email protected]> wrote: >> Log: >> * Merge the boot-order branch. The main improvement is that it uses >> mountall to mount filesystems and starts certain jobs (e.g., X11, >> console logins, databases) only after all filesystems have been >> mounted. If any filesystem fails to mount, an emergency shell is >> started to allow the user to fix the problem. > > How do it handle the nfs mount when I am not on the right network? > > I have a nfs mount when I am at my home but I guess this will cause a > failure and start the emergency shell each time I am on another > network or even out of range. No, failing remote filesystems do not trigger a "mount-failed" event (and thus the emergency shell) unless you set the "bootwait" mount option, e.g. fileSystems = [ { mountPoint = "/data"; device = "server:/data"; fsType = "nfs"; options = "bootwait"; } ]; Likewise, jobs that wait for the "filesystem" event do not take remote filesystems into account that don't have the "bootwait" option. -- Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/ _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
