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

From: Michael Kerrisk (man-pages)
Date: Tue Aug 10 2021 - 15:30:33 EST


On 8/10/21 4:11 PM, Christian Brauner wrote:
> 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.

Thanks for the confirmation.

Cheers,

Michael


--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/