From owner-freebsd-questions Fri Mar 12 7:56:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 0980715461; Fri, 12 Mar 1999 07:56:08 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id KAA00657; Fri, 12 Mar 1999 10:55:46 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199903121555.KAA00657@cc942873-a.ewndsr1.nj.home.com> Subject: Re: A boot up problem. In-Reply-To: <36E92FFE.A389332F@Syne-Post.com> from Phil at "Mar 12, 99 10:17:18 am" To: ReachMe@Syne-Post.com (Phil) Date: Fri, 12 Mar 1999 10:55:46 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Phil wrote, > And so they restart the machine (Fortunately they also run FreeBSD) and it won't > automatically CLEAN the disks and it just stops. > The sysadmin there manually cleans the disk and then it continues. > > Here's a message form him as he is probably more clear than I; > > Doubly so because your unix > system also seems to not want to automatically check the filesystems after > an improper shutdown, which keeps it from finishing booting until > it gets some manual intervention. I'm really curious as to why that is, > and I'd actually like to look into it sometime. > > Well that actually doesn't look very technical to me does it. > > Anyhow. What can I do to find out why it doesn't want to automatically check the > file system and clean it?? One of the first things in /etc/rc is, if [ $1x = autobootx ]; then echo Automatic reboot in progress... fsck -p case $? in 0) ;; 2) exit 1 ;; 4) reboot echo "reboot failed... help!" exit 1 ;; 8) echo "Automatic file system check failed... help!" exit 1 ;; 12) echo "Reboot interrupted" exit 1 ;; 130) # interrupt before catcher installed exit 1 ;; *) echo "Unknown error in reboot" exit 1 ;; esac else echo Skipping disk checks ... fi Find out whcih message is being produced. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message