Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount
From: Theodore Ts'o
Date: Mon Feb 06 2017 - 09:51:02 EST
On Sun, Feb 05, 2017 at 10:46:23PM -0800, James Bottomley wrote:
> Yes, I know the problem. However, I believe most current linux
> filesystems no longer guarantee stable, for the lifetime of the file,
> inode numbers. The usual docker container root is overlayfs, which,
> similarly doesn't support stable inode numbers. I see the odd
> complaint about docker with overlayfs having unstable inode numbers,
> but none seems to have any serious repercussions.
Um, no. Most current linux file systems *do* guarantee stable inode
numbers. For one thing, NFS would break horribly if you didn't have
stable inode numbers. Never mind applications which depend on POSIX
semantics. And you wouldn't be able to save games in rogue or
nethack, either. :-)
Overlayfs may not, currently, but it's considered a bug.
- Ted