From owner-freebsd-current Thu Aug 20 02:31:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA23658 for freebsd-current-outgoing; Thu, 20 Aug 1998 02:31:31 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA23653 for ; Thu, 20 Aug 1998 02:31:30 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca10-63.ix.netcom.com [205.186.214.63]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id CAA11327; Thu, 20 Aug 1998 02:30:46 -0700 (PDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.8.8/8.6.9) id CAA04533; Thu, 20 Aug 1998 02:30:42 -0700 (PDT) Date: Thu, 20 Aug 1998 02:30:42 -0700 (PDT) Message-Id: <199808200930.CAA04533@silvia.hip.berkeley.edu> To: roberto@eurocontrol.fr CC: freebsd-current@FreeBSD.ORG In-reply-to: <19980820110125.A17863@caerdonn.eurocontrol.fr> (message from Ollivier Robert on Thu, 20 Aug 1998 11:01:25 +0200) Subject: Re: Problem with Poul-Henning's commit in /etc/rc From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Unless I'm mistaken, the latest change from Poul-Henning to /etc/rc is bad * because failures are not detected anymore. The $? check is now after the * "echo" and will check its return code, not the one from mount. * +echo -n "Mounting NFS file systems" * mount -a -t nonfs * +echo . * if [ $? != 0 ]; then * echo "Filesystem mount failed, startup aborted" Besides, the messages are all wrong. It says NFS when it's mounting non-NFS filesystems (which is one word, btw), and if it fails (it won't, but even if the second echo is taken out), the screen will read "Mounting NFS file systemsFilesystem mount failed, startup aborted" ;) Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message