*BSD News Article 16582


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!usc!math.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!howland.reston.ans.net!noc.near.net!news.centerline.com!uunet!mcsun!news.forth.gr!news.forth.gr!vp
From: vp@nemesis.csi.forth.gr (Vassilis Prevelakis)
Newsgroups: comp.os.386bsd.questions
Subject: Re: fsck summary info bad after every shutdown
Date: 28 May 1993 07:40:44 +0300
Organization: Institute of Computer Science, FORTH Hellas
Lines: 18
Message-ID: <vp.738563799@news.forth.gr>
References: <davidb.738071772@otto> <1tlqt4INN7ni@fstgds01.tu-graz.ac.at>
NNTP-Posting-Host: nemesis.csi.forth.gr

chmr@edvz.tu-graz.ac.at (Christoph Robitschko) writes:

>I've modified fsck to check the clean bit, and ufs_mount and ufs_unmount
>in the kernel to clear and set the clean bit, respectively. It works
>fine after I manually unmount a partition, but my problem is that the
>filesystems are not unmounted automatically on a shutdown.

Why not use fasthalt(8) or fastboot(8), these create a file (/fastboot)
so that after the machine is rebooted /etc/rc doesn't run fsck at all.

**vp

-----------------------------------
Vassilis Prevelakis   |       vp@csi.forth.gr
Thoukididou 10A       |   old style address:
Plaka, Athens 105 58  |       ...!mcvax!ariadne!vp
GREECE                |
Tel. +30 1 32 32 867  |   FAX +30 1 72 24 603