mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
New API: luks_uuid
Return the UUID of a LUKS device.
This commit is contained in:
@@ -9728,4 +9728,12 @@ it is useful when you have added a new device or deleted an
|
||||
existing device (such as when the C<guestfs_luks_open> API
|
||||
is used)." };
|
||||
|
||||
{ defaults with
|
||||
name = "luks_uuid"; added = (1, 41, 9);
|
||||
style = RString (RPlainString, "uuid"), [String (Device, "device")], [];
|
||||
optional = Some "luks";
|
||||
shortdesc = "get the UUID of a LUKS device";
|
||||
longdesc = "\
|
||||
This returns the UUID of the LUKS device C<device>." };
|
||||
|
||||
]
|
||||
|
||||
@@ -514,6 +514,7 @@ let proc_nr = [
|
||||
504, "part_get_gpt_attributes";
|
||||
505, "f2fs_expand";
|
||||
506, "lvm_scan";
|
||||
507, "luks_uuid";
|
||||
]
|
||||
|
||||
(* End of list. If adding a new entry, add it at the end of the list
|
||||
|
||||
Reference in New Issue
Block a user