Date: Wed, 8 Sep 1999 13:34:30 -0400 (EDT) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: Luoqi Chen <luoqi@watermarkgroup.com> Cc: freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: The usage of MNT_RELOAD Message-ID: <Pine.GSO.3.96.990908133020.21415B-100000@sol.cs.binghamton.edu> In-Reply-To: <199909081644.MAA10197@lor.watermarkgroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Sep 1999, Luoqi Chen wrote: > > The flag MNT_RELOAD is not documented in mount manpages. From the source > > code, I find that it is always used along with MNT_UPDATE which can be > > speficied by user (-u option). Can anyone explain the usage of MNT_RELOAD > > for me? It seems not to be used normally. > > > It is created almost exclusively for fsck (and similar programs) to update > the in core image of the superblock (of / in single user mode) after the > on disk version has been modified. > Does fsck have to run on a MOUNTED filesystem? If so, your answer makes sense to me: if fsck modifies the on-disk copy of the superblock, it does not have to unmount and then remount the filesystem, it only need to reload the superlock for disk. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990908133020.21415B-100000>