Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2002 06:18:07 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Robert Watson <rwatson@FreeBSD.ORG>
Cc:        bsdc@xtremedev.com, Hiten Pandya <hiten@angelica.unixdaemons.com>, <current@FreeBSD.ORG>
Subject:   Re: ACLs on the boot partition?
Message-ID:  <20021128060920.N9287-100000@gamplex.bde.org>
In-Reply-To: <Pine.NEB.3.96L.1021127131751.50233A-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Nov 2002, Robert Watson wrote:

> On Wed, 27 Nov 2002, Bruce Evans wrote:
>
> > On Tue, 26 Nov 2002, Robert Watson wrote:
> >
> > > tunefs changes the flag for the next mount, so doesn't take immediate
> > > effect.  Once you've tunefs'd a read-only file system, you need to unmount
> > > and remount it -- for the file system root, this generally means
> > > rebooting.  Just to confirm: you're running with GENERIC, or with a kernel
> >
> > Er, what is the mount(..., MNT_RELOAD ...) in tunefs for then?
>
> The problem is that some flags can't be changed via MNT_RELOAD and require
> a from-scratch mount.  I'm hoping that with nmount(), we can get a little
> more expressive regarding what changes are (and aren't) allowed to flags.
> Right now there's some uncomfortable masking.

Why can't they be changed?  All the other tunefs flags except FS_ACLS
and FS_MULTILABEL are related to writing, so ffs_reload() has to support
them changing as a side effect of supporting transitions from read-only
to read-write mode.

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?20021128060920.N9287-100000>