Date: Thu, 20 Aug 1998 02:30:42 -0700 (PDT) From: asami@FreeBSD.ORG (Satoshi Asami) To: roberto@eurocontrol.fr Cc: freebsd-current@FreeBSD.ORG Subject: Re: Problem with Poul-Henning's commit in /etc/rc Message-ID: <199808200930.CAA04533@silvia.hip.berkeley.edu> In-Reply-To: <19980820110125.A17863@caerdonn.eurocontrol.fr> (message from Ollivier Robert on Thu, 20 Aug 1998 11:01:25 %2B0200)
next in thread | previous in thread | raw e-mail | index | archive | help
* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808200930.CAA04533>