search for: guestfs_ext_cmd

Displaying 1 result from an estimated 1 matches for "guestfs_ext_cmd".

Did you mean: guestfsd_ext_cmd
2012 Aug 30
1
[PATCH] collect list of called external commands
guestfsd calls many different tools. Keeping track of all of them is error prone. This patch introduces a new helper macro to put the command string into its own ELF section: GUESTFS_EXT_CMD(C_variable, command_name); This syntax makes it still possible to grep for used command names. The actual usage of the collected list could be like this: objcopy -j .guestfs_ext_cmds -O binary daemon/guestfsd /dev/stdout | strings | sort -u The resulting output will be used to tell mkinitrd whi...