conf/163668: fstab 'failok' option has no effect on missing hard
jh at FreeBSD.org
Mon Jan 2 15:50:11 UTC 2012
The following reply was made to PR conf/163668; it has been noted by GNATS.
From: Jaakko Heinonen <jh at FreeBSD.org>
To: Oleg Baranov <ol at csa.ru>
Cc: bug-followup at freebsd.org
Subject: Re: conf/163668: fstab 'failok' option has no effect on missing hard
Date: Mon, 2 Jan 2012 17:45:41 +0200
On 2011-12-28, Oleg Baranov wrote:
> System drops to Single mode on boot in case special device is missing
> even corresponding filesystem is marked as 'failok' in /etc/fstab.
This is a bug in mount(8). The mountfs() function calls several
functions which may cause mount(8) to exit with error status. This
breaks the "failok" functionality.
I tried to remove most exit points in the following patch. Changing
checkpath() isn't trivial because also file system specific mount
commands use the function.
Please report back if you are able to test the patch.
More information about the freebsd-bugs