[PATCH 09/15] Extend debugfs stat command to take an optional file name

Auke Kok auke.kok at versity.com
Mon Mar 24 14:29:10 PDT 2025


On Wed, Mar 12, 2025 at 7:34 AM Valerie Aurora <val at versity.com> wrote:
> Stat used to only show the root inode, now it shows either the current
> working directory or the optional filename argument.

I just noticed this. Maybe it makes sense for debugfs to just work
with the inode ID, instead of the file name? It would avoid the
pitfalls of pathname resolution, and I think we also want a debugfs
command to separately do path-to-inode lookups anyway.

Auke



More information about the ngnfs-devel mailing list