Re: Questions re the new mount_setattr(2) manual page

From: Christian Brauner
Date: Tue Aug 10 2021 - 10:11:38 EST


On Tue, Aug 10, 2021 at 09:12:14AM +0200, Michael Kerrisk (man-pages) wrote:
> Hi Christian,
>
> One more question...
>
> >> The propagation field is used to specify the propagation typ
> >> of the mount or mount tree. Mount propagation options are
> >> mutually exclusive; that is, the propagation values behave
> >> like an enum. The supported mount propagation types are:
>
> The manual page text doesn't actually say it, but if the 'propagation'
> field is 0, then this means leave the propagation type unchanged,
> right? This of course should be mentioned in the manual page.

Yes, if none of the documented values is set the propagation is unchanged.

Christian