Displaying 1 result from an estimated 1 matches for "printuuid".
2012 Aug 20
1
[PATCH] xfs: add new api xfs_admin
.../xfs.c
index b331b9b..b32d256 100644
--- a/daemon/xfs.c
+++ b/daemon/xfs.c
@@ -460,3 +460,81 @@ error:
if (out) free (out);
return NULL;
}
+
+char *
+do_xfs_admin (const char *device,
+ int extunwritten, int imgfile, int v2log,
+ int printlabel, int projid32bit, int printuuid,
+ int lazycounter, const char *label, const char *uuid)
+{
+ int r;
+ char *out = NULL, *err = NULL;
+ const char *argv[MAX_ARGS];
+ size_t i = 0;
+
+ ADD_ARG (argv, i, "xfs_admin");
+
+ /* Optional arguments */
+ if (!(optargs_bitmask & GUESTFS_XFS_ADMIN_EXTUNWRI...