From owner-freebsd-doc@FreeBSD.ORG Sat Dec 31 19:20:11 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8AC0106567A for ; Sat, 31 Dec 2011 19:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A5F2C8FC20 for ; Sat, 31 Dec 2011 19:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBVJKB2F004723 for ; Sat, 31 Dec 2011 19:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBVJKBxi004722; Sat, 31 Dec 2011 19:20:11 GMT (envelope-from gnats) Resent-Date: Sat, 31 Dec 2011 19:20:11 GMT Resent-Message-Id: <201112311920.pBVJKBxi004722@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA80A106564A for ; Sat, 31 Dec 2011 19:10:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C577D8FC16 for ; Sat, 31 Dec 2011 19:10:18 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBVJAIYp094309 for ; Sat, 31 Dec 2011 19:10:18 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pBVJAI70094308; Sat, 31 Dec 2011 19:10:18 GMT (envelope-from nobody) Message-Id: <201112311910.pBVJAI70094308@red.freebsd.org> Date: Sat, 31 Dec 2011 19:10:18 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/163742: [patch] document failok mount(8) option X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 19:20:12 -0000 >Number: 163742 >Category: docs >Synopsis: [patch] document failok mount(8) option >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 31 19:20:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9.0-RC2 >Organization: n/a >Environment: FreeBSD bayonetta.local 9.0-RC2 FreeBSD 9.0-RC2 #0: Sun Nov 13 21:17:31 PST 2011 gcooper@bayonetta.local:/usr/obj/store/freebsd/stable/9/sys/BAYONETTA amd64 >Description: The failok option isn't documented in mount(8). As noted in the sbin/mount/mount.c: 730 } else if (strcmp(p, "failok") == 0) { 731 /* 732 * "failok" is used to prevent certain file 733 * systems from being causing the system to 734 * drop into single user mode in the boot 735 * cycle, and is not a real mount option. 736 */ 737 continue; The attached patch documents the missing option. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: sbin/mount/mount.8 =================================================================== --- sbin/mount/mount.8 (revision 228846) +++ sbin/mount/mount.8 (working copy) @@ -145,6 +145,13 @@ .Fl u flag, this is the same as specifying the options currently in effect for the mounted file system. +.It Cm failok +This option is used to prevent certain file systems from dropping into +single-user mode when booting up; it is used internally in +.Xr mount 8 +and thus is not a true +.Xr mount 2 +flag. .It Cm force The same as .Fl f ; >Release-Note: >Audit-Trail: >Unformatted: