[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOQ4uxhuMTw7fHY-2NGCs4s2vqnCQF3EKHtozjn-1UP4Jm9=1Q@mail.gmail.com>
Date: Tue, 7 Jun 2022 07:30:39 +0300
From: Amir Goldstein <amir73il@...il.com>
To: Oliver Ford <ojford@...il.com>
Cc: linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Jan Kara <jack@...e.cz>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/1] fs: inotify: Add full paths option to inotify
On Tue, Jun 7, 2022 at 1:43 AM Oliver Ford <ojford@...il.com> wrote:
>
> Adds an option to return the full path in inotify events. Currently, user space has to keep track of watch descriptors and paths, mapping the descriptor returned when reading inotify events to the path. Adding an option to return the full path simplifies user space code.
That is exactly what FAN_REPORT_DFID_NAME fanofiy mode is for.
Please try to use it and see if it fits your needs.
Thanks,
Amir.
Powered by blists - more mailing lists