Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 20:05:23 +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:  <20021127195019.W7258-100000@gamplex.bde.org>
In-Reply-To: <Pine.NEB.3.96L.1021126171908.88614H-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?  Unmounting
and remounting should not be necessary for any read-only file system
including "/".  You can do the MNT_RELOAD from the command line using
mount -u if tunefs doesn't do it.

I have some old fixes for tunefs which fix missing remounts as a side
effect.  In -current, tunefs only detects mounted filesystems if they
are in fstab.  It clobbers read-write mounted filesystems and fails to
remount read-only mounted file systems if they are not detected.

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?20021127195019.W7258-100000>