From owner-freebsd-current@FreeBSD.ORG Mon Jun 6 18:47:15 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C27A1065670 for ; Mon, 6 Jun 2011 18:47:15 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 0EFA48FC15 for ; Mon, 6 Jun 2011 18:47:13 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id D6C9D5E31; Mon, 6 Jun 2011 18:22:14 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.4/8.14.4) with ESMTP id p56IMEt1058750; Mon, 6 Jun 2011 18:22:14 GMT (envelope-from phk@critter.freebsd.dk) To: d@delphij.net From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 06 Jun 2011 11:00:17 MST." <4DED15B1.8020701@delphij.net> Content-Type: text/plain; charset=ISO-8859-1 Date: Mon, 06 Jun 2011 18:22:14 +0000 Message-ID: <58749.1307384534@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: FreeBSD Current Subject: Re: [RFC] 'failok' mount(8) flag X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 18:47:15 -0000 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.