Red Hat Bugzilla – Bug 995176
RFE: Implement set-uuid command
Last modified: 2014-06-17 22:00:40 EDT
+++ This bug was initially created as a clone of Bug #986877 +++
Description of problem:
Currently UUIDs on ext2/3/4 filesystems can be set using the special
set-e2uuid command. However it's possible to set these as well for
XFS (using xfs_admin -U ...). We should implement a generic set-uuid
call which can handle either.
(Requested by: Bo Fan)
--- Additional comment from Richard W.M. Jones on 2013-07-22 08:54:36 EDT ---
NB: the fs-uuids patch (last one in that list) is broken. Fixed
by a later patch upstream:
So either both or neither of those should be applied.
Verified with libguestfs-1.22.6-16.el7.x86_64
# guestfish -N fs:xfs set-uuid /dev/sda1 9a804901-5f19-4b0c-808a-f00c498599fb : get-e2uuid /dev/sda1
set-uuid works for xfs
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.