composefs icon indicating copy to clipboard operation
composefs copied to clipboard

Add way to find backing store for data

Open alexlarsson opened this issue 3 years ago • 1 comments

As mentioned here: https://github.com/ostreedev/ostree/pull/2640#issuecomment-1171334545 ignition would like to be able to track which block devices as used by a mount. We can't currently always do this. For example, the mount source is a relative pathname. We should maybe make this an absolute pathname?

There might be similar issues with the basedir.

alexlarsson avatar Jul 18 '22 07:07 alexlarsson

We do expose all the backing paths in the mount info, although they are relative if they were supplied relative. I looked at other stuff, and nothing in the current kernel seems to change given options to absolute paths when printed. Maybe we just need to be careful about passing important mount options by full paths when we mount stuff.

alexlarsson avatar Sep 23 '22 08:09 alexlarsson

I think this is not necessary; in general, we just need to teach tooling to look at the underlying physical root filesystem, which is done in https://github.com/coreos/coreos-installer/pull/1203

cgwalters avatar Jun 05 '23 15:06 cgwalters