Displaying 2 results from an estimated 2 matches for "map_registry_blob".
2016 Feb 05
1
Re: [PATCH] inspect: get windows drive letters for GPT disks.
...you for a prompt review. Yes, I meant to use
guestfs_list_filesystems for save myself from doing nested loops - one
to pull list of devices (guestfs_list_devices) and another to loop
through partitions on each device. If that's a problem, please let me
know and I'll change it to follow what map_registry_blob does.
> > + for (i = 0; fses[i] != NULL; i += 2) {
> > + CLEANUP_FREE char *fs_guid = NULL;
> > + CLEANUP_FREE char *blob_guid = NULL;
> > + CLEANUP_FREE char *fs_dev = NULL;
> > +
> > + fs_dev = guestfs_canonical_device_name (g, fses[i]);
> >...
2016 Feb 05
3
[PATCH] inspect: get windows drive letters for GPT disks.
This patch updates the guestfs_inspect_get_drive_mappings API call to
also return drive letters for GPT paritions. Previously this worked
only for MBR partitions. This is achieved by matching the GPT partition
GUID with the info stored in the blob from
HKLM\SYSTEM\MountedDevices\DosDevices keys. For GPT partions this blob
contains a "DMIO:ID:" prefix followed by a 16 byte binary GUID.