Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2002 07:15:08 -0700 (PDT)
From:      Patrick Thomas <root@utility.clubscholarship.com>
To:        Chris Fedde <chris@fedde.littleton.co.us>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: use of fsck -y 
Message-ID:  <20020602071202.U18408-100000@utility.clubscholarship.com>
In-Reply-To: <200206020633.g526XnQW047284@fedde.littleton.co.us>

next in thread | previous in thread | raw e-mail | index | archive | help

>
>     vnconfig /dev/vn0 /prisons/1a
>     mount /dev/vn0c /mnt/point
>     if [ $? != 0 ]
>     then
> 	fsck -y /dev/vn0
> 	mount /dev/vn0c /mnt/point
> 	if [ $? != 0 ]
> 	then
> 	    echo Mount fails even after fsck. Better check this by hand
> 	fi
>     fi
>     /mnt/point/apachectl start

If I understand correctly, this does the fsck only if it comes up dirty ?
But skips it if it comes up clean ?

> BTW. softupdates might also give you some performance advantages
> on peudo disk device filesystems.

Will softupdates make fsck irrelevant ?  That is, is it like journalling
in the sense that I can cut the power and not lose anything ?  Or do I
still need to fsck after a crash ?

thanks,

PT


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020602071202.U18408-100000>