Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2002 08:38:55 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Robert Watson <rwatson@FreeBSD.ORG>
Cc:        Archie Cobbs <archie@dellroad.org>, Kirk McKusick <mckusick@beastie.mckusick.com>, Julian Elischer <julian@elischer.org>, <freebsd-current@FreeBSD.ORG>, Thomas-Henning von Kamptz <tomsoft@FreeBSD.ORG>
Subject:   Re: backgroud fsck is still locking up system (fwd)
Message-ID:  <20021208083004.T14505-100000@gamplex.bde.org>
In-Reply-To: <Pine.NEB.3.96L.1021207085857.9402H-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 7 Dec 2002, Robert Watson wrote:

> On Sun, 8 Dec 2002, Bruce Evans wrote:
> > Er, it should be obvious that growfs can't reasonably work on the mounted
> > partitions.  growfs.1 doesn't exist, but growfs.8 already has the warning
> > ...
>
> Hmm.  I guess one of the interesting questions is: what happened to the
> safety belts?  I would have thought that GEOM would prevent opening the
> partition writable while it was mounted...

The kernel doesn't and shouldn't prevent it for the r/o-mounted case
(since fsck needs to write to the partition of a mounted file system
for at least the case of the root file system mounted r/o), and
apparently growfs doesn't prevent it in ths case either.  There are
lots of safety belts in the kernel for the r/w-mounted case.

Bruce


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?20021208083004.T14505-100000>