Re: The usage of MNT_RELOAD

1999-09-08 Thread Warner Losh
In message <199909081811.laa88...@apollo.backplane.com> Matthew Dillon writes: : It is best, of course, to run fsck only on filesystems that have not : been mounted but this cannot be done for the root filesystem for obvious : reasons, hence the read-only mount + fsck + remount R/W. Ba

Re: The usage of MNT_RELOAD

1999-09-08 Thread Matthew Dillon
:> 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. : :The root filesystem is mounted when

Re: The usage of MNT_RELOAD

1999-09-08 Thread Chris D. Faulhaber
ied 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) af

Re: The usage of MNT_RELOAD

1999-09-08 Thread David Scheidt
On Wed, 8 Sep 1999, Zhihui Zhang wrote: > > On Wed, 8 Sep 1999, Luoqi Chen wrote: > > > 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 fs

Re: The usage of MNT_RELOAD

1999-09-08 Thread Bill Studenmund
On Wed, 8 Sep 1999, Zhihui Zhang wrote: > > 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.

Re: The usage of MNT_RELOAD

1999-09-08 Thread Zhihui Zhang
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 > &g

Re: The usage of MNT_RELOAD

1999-09-08 Thread Warner Losh
In message <[EMAIL PROTECTED]> Matthew Dillon writes: : It is best, of course, to run fsck only on filesystems that have not : been mounted but this cannot be done for the root filesystem for obvious : reasons, hence the read-only mount + fsck + remount R/W. Back in the Bad Old Days,

Re: The usage of MNT_RELOAD

1999-09-08 Thread Matthew Dillon
:> 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. : :The root filesystem is mounted when

Re: The usage of MNT_RELOAD

1999-09-08 Thread Chris D. Faulhaber
ied 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) af

Re: The usage of MNT_RELOAD

1999-09-08 Thread David Scheidt
On Wed, 8 Sep 1999, Zhihui Zhang wrote: > > On Wed, 8 Sep 1999, Luoqi Chen wrote: > > > 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 f

Re: The usage of MNT_RELOAD

1999-09-08 Thread Bill Studenmund
On Wed, 8 Sep 1999, Zhihui Zhang wrote: > > 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.

Re: The usage of MNT_RELOAD

1999-09-08 Thread Zhihui Zhang
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 > &g

Re: The usage of MNT_RELOAD

1999-09-08 Thread Luoqi Chen
> 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. >

Re: The usage of MNT_RELOAD

1999-09-08 Thread Chris Costello
On Wed, Sep 08, 1999, Zhihui Zhang 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?

The usage of MNT_RELOAD

1999-09-08 Thread Zhihui Zhang
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. Any help is appreciated

Re: The usage of MNT_RELOAD

1999-09-08 Thread Luoqi Chen
> 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. >

Re: The usage of MNT_RELOAD

1999-09-08 Thread Chris Costello
On Wed, Sep 08, 1999, Zhihui Zhang 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?

The usage of MNT_RELOAD

1999-09-08 Thread Zhihui Zhang
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. Any help is appreciated