search for: guestfs_inspect_get_vbr_bootloader

Displaying 2 results from an estimated 2 matches for "guestfs_inspect_get_vbr_bootloader".

2015 Jun 19
2
boot loader detection
...change often. I’ve isolated and simplified the signatures database here: https://github.com/skalkoto/snf-image-creator/blob/develop/image_creator/bootloader.py and I was wondering if you care to add 2 new libguestfs API methods e.g.: char * guestfs_inspect_get_mbr_bootloader(guestfs *g) char * guestfs_inspect_get_vbr_bootloader(guests *g, char *device) that would return a string like “grub2”, “syslinux”, “windows”, etc. I can write the code. What do you think? Nikos
2015 Jun 19
0
Re: boot loader detection
...mplified the signatures database here: > > https://github.com/skalkoto/snf-image-creator/blob/develop/image_creator/bootloader.py > > and I was wondering if you care to add 2 new libguestfs API methods e.g.: > > char * guestfs_inspect_get_mbr_bootloader(guestfs *g) > char * guestfs_inspect_get_vbr_bootloader(guests *g, char *device) What is 'vbr'? > that would return a string like “grub2”, “syslinux”, “windows”, etc. > I can write the code. > > What do you think? I wonder if an easier and more general path here is to add the advanced detection signatures to 'file'. At t...