Bug 207177

Summary: mount option <nofail> is unknown
Product: Base System Reporter: agniaus
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: J.deBoynePollard-newsgroups, amd64
Priority: ---    
Version: 10.2-STABLE   
Hardware: amd64   
OS: Any   

Description agniaus 2016-02-14 08:46:22 UTC
/dev/da2p1      /usr/home/hdd   ufs     rw,nofail      2       2

mount -a
mount option <nofail> is unknown: Invalid argument
Comment 1 Jonathan de Boyne Pollard 2016-02-14 09:42:47 UTC
(In reply to agniaus from comment #0)

The error message is correct.  This is not an option for the BSD mount command.  You are attempting to use a Linux idiosyncrasy.

The "nofail" option was invented in December 2007 for the Linux mount command by Matthias Koenig, Kay Sievers, and Karel Zak. (http://comments.gmane.org/gmane.linux.utilities.util-linux-ng/414)

The FreeBSD mount command has a "failok" option, dating from base r222832 in June 2011.  This is documented in the fstab(5) manual page.  It isn't documented in mount(8), however; even though that is the command that actually implements it.
Comment 2 agniaus 2016-02-14 09:53:59 UTC
Sorry, I found this option through google by searching "freebsd mount nofail", google give me first result:
Only now I notice that this manual not for freebsd mount :)