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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to