Hi all, This series adds a new fsuuid command and adapts xfs_admin to call xfs_io when a filesystem is mounted. This is a precursor to enabling xfs_admin to set the UUID of a mounted filesystem. v2->v3 - Keep track of which commands require a mounted/unmounted fs - Return error if both online and offline options are specified Comments and feedback appreciated! Catherine Catherine Hoang (2): xfs_io: add fsuuid command xfs_admin: get UUID of mounted filesystem db/xfs_admin.sh | 61 +++++++++++++++++++++++++++++++++++++++-------- io/Makefile | 6 ++--- io/fsuuid.c | 49 +++++++++++++++++++++++++++++++++++++ io/init.c | 1 + io/io.h | 1 + man/man8/xfs_io.8 | 3 +++ 6 files changed, 108 insertions(+), 13 deletions(-) create mode 100644 io/fsuuid.c -- 2.25.1