From owner-freebsd-questions@FreeBSD.ORG Fri Jan 23 00:43:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6817F1065674 for ; Fri, 23 Jan 2009 00:43:40 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 330668FC17 for ; Fri, 23 Jan 2009 00:43:39 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 77A79AFC1FF; Thu, 22 Jan 2009 15:43:39 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 22 Jan 2009 15:43:39 -0900 User-Agent: KMail/1.9.10 References: <20090121171447.GB13963@lava.net> In-Reply-To: <20090121171447.GB13963@lava.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901221543.39226.fbsd.questions@rachie.is-a-geek.net> Cc: Matias Surdi , Clifton Royston Subject: Re: Filesystem tunning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 00:43:40 -0000 On Wednesday 21 January 2009 08:14:49 Clifton Royston wrote: > On Wed, Jan 21, 2009 at 12:01:04PM +0100, Matias Surdi wrote: > > Hi, > > > > Is there any way to avoid the system going to single user mode when a > > secondary storage device cannot be mounted?. > > > > I mean, if all system filesystems are OK, how can set up a device with a > > custom mount point so that when it's tried to mount at boot time and > > fails doesn't cause the system to be in single user mode? > > > > I know that if in fstab I set the last parameter to "0" checking will > > not be made at boot time, but instead what I want is the check to be > > run, correct any automatically correctable error, and continue booting > > anyway, despite the result of the check.Later a custom script will check > > the filesystem and send a mail, for example. > > Try this: > > Set to "noauto" in /etc/fstab, and add a custom script to run at the > end of the boot process to check and mount your special device if it's > OK, and do whatever additional processing you want if not. > -- Clifton It would be nice if the mount_nfs -b flag would be 'universally' supported, so that removable devices can be mounted pending on presence. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.