mbox series

[v2,0/2] get UUID of mounted filesystems

Message ID 20221219181824.25157-1-catherine.hoang@oracle.com (mailing list archive)
Headers show
Series get UUID of mounted filesystems | expand

Message

Catherine Hoang Dec. 19, 2022, 6:18 p.m. UTC
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.

v1->v2:
- Add fsuuid command to xfs_io man page
- xfs_admin returns error if both online and offline options are specified
- Update xfs_admin man page

Comments and feedback appreciated!

Catherine

Catherine Hoang (2):
  xfs_io: add fsuuid command
  xfs_admin: get UUID of mounted filesystem

 db/xfs_admin.sh      | 27 ++++++++++++++++++++----
 io/Makefile          |  6 +++---
 io/fsuuid.c          | 49 ++++++++++++++++++++++++++++++++++++++++++++
 io/init.c            |  1 +
 io/io.h              |  1 +
 man/man8/xfs_admin.8 |  4 ++++
 man/man8/xfs_io.8    |  3 +++
 7 files changed, 84 insertions(+), 7 deletions(-)
 create mode 100644 io/fsuuid.c