Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2011 18:22:14 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        d@delphij.net
Cc:        FreeBSD Current <freebsd-current@FreeBSD.ORG>
Subject:   Re: [RFC] 'failok' mount(8) flag 
Message-ID:  <58749.1307384534@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 06 Jun 2011 11:00:17 MST." <4DED15B1.8020701@delphij.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <4DED15B1.8020701@delphij.net>, Xin LI writes:

>I think sometimes it's desirable to mark a few file systems as 'failok',
>which means it's Ok to have these mounts failed on boot and something
>else (a script, cron job, etc) will handle the case.

Good idea.  (This was one of the ideas that made me realize that
we were out of mount flags, and thus prompted nmount(8).  Never got
around to implement failok afterwards.)

Based on some NanoBSD work along this kind of lines, there may be
/etc/rc.ng opportunities/work to do in this, so that rc.d/foo can
depend on a given filesystem actually being mounted, since some
daemons can get quite upset and hang the boot, if their filesystems
are not there and/or suddenly too small etc.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58749.1307384534>