Consider using [name_to_handle_at](https://man7.org/linux/man-pages/man2/open_by_handle_at.2.html) as an alternative to inode on Linux. Motivation: https://lwn.net/Articles/866582/ https://lwn.net/Articles/866709/