RE: [EXTERNAL] Re: Fanotify Ignore mask

Nilesh Awate
2020-03-23T15:32:17Z

Yes makes sense.

Thank You!

-----Original Message-----
From: Amir Goldstein <amir73il@gmail.com>
Sent: Monday, March 23, 2020 8:57 PM
To: Nilesh Awate <Nilesh.Awate@microsoft.com>
Cc: Jan Kara <jack@suse.cz>; linux-fsdevel <linux-fsdevel@vger.kernel.org>
Subject: Re: [EXTERNAL] Re: Fanotify Ignore mask

On Mon, Mar 23, 2020 at 3:34 PM Nilesh Awate <Nilesh.Awate@microsoft.com> wrote:
>
> Hi Jan, Amir -
>
> Thank you for quick respond!
>
> Yes with mount --bind /opt /opt and then adding ignore mask it works as expected.
>

You shouldn't need an ignore mask if you did not set a mark on the /opt mount.
The mark on / does not 'recursively' apply to sub mounts.

Thanks,
Amir.