From owner-freebsd-questions@FreeBSD.ORG Wed Jan 21 17:55:11 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 1B099106564A for ; Wed, 21 Jan 2009 17:55:11 +0000 (UTC) (envelope-from matiassurdi@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4AF8FC20 for ; Wed, 21 Jan 2009 17:55:10 +0000 (UTC) (envelope-from matiassurdi@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2228120fgb.35 for ; Wed, 21 Jan 2009 09:55:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=P/aCYxqIFdOz5O6GPfOo5jVF0z/XIPsfi49Uh5HSwjw=; b=qmxOJ8GEnESeLtBpfVeo8wWkkhyKFCFZReblQHZPwajZK/Nc0eeLqvk+kEXJupAs5k ifTuY2Cn4NRK8PpparAH8jewok8Q+Yinr0Kr3phFckdOKuNW8dTB3Slzm75Y120ZzAcr TgrFyjHF4K4Jq9RLYSW3DWLbfjcPAV4XPIZqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ISPeulNuswHL4T9JlTaHpolwzVLjNeCuC028nxURTnwBbnXdefRAbtDHL5bXl/yNdO eP/Nqriq3Oa+XsVuwM98XjCrfn4w3sW8XDXtiwQpqq7qMgkhMBn236erJL/VzGbT+tMG DAwU5kz9kp9C4TkhH+0TqRPbzXiztdVOiIKGM= MIME-Version: 1.0 Received: by 10.223.114.208 with SMTP id f16mr377074faq.91.1232558703003; Wed, 21 Jan 2009 09:25:03 -0800 (PST) In-Reply-To: <20090121171447.GB13963@lava.net> References: <20090121171447.GB13963@lava.net> Date: Wed, 21 Jan 2009 18:25:02 +0100 Message-ID: <720ff42b0901210925h13871dd4kae557680576741a2@mail.gmail.com> From: Matias Surdi To: Matias Surdi , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: 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: Wed, 21 Jan 2009 17:55:11 -0000 This should work. I'll try it. Thanks for the idea 2009/1/21 Clifton Royston : > 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 > > -- > Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net > President - I and I Computing * http://www.iandicomputing.com/ > Custom programming, network design, systems and network consulting services > -- Matias Emanuel Surdi. http://lounicoquefaltaba.com.ar