summaryrefslogtreecommitdiffstats
path: root/daemon/initrd.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace shell_quote function with %Q and %R printf specifiers.Richard Jones2009-07-281-11/+5
| | | | | | | %Q => simple shell quoted string %R => path will be prefixed by /sysroot eg. snprintf (cmd, sizeof cmd, "cat %R", path); system (cmd);
* Make /sysroot path configurable.Richard Jones2009-07-181-2/+3
| | | | | | | | | Currently /sysroot is hard-coded throughout the daemon code. This patch turns the path into a variable so that we can change it in future, for example to allow standalone mode to be implemented. This patch was tested by running all the C API tests successfully.
* remove trailing blanksJim Meyering2009-07-031-1/+1
|
* All instances of 'pclose' now check for return value != 0.Richard W.M. Jones2009-07-011-1/+1
| | | | | | We are generally interested that the subcommand ran without error, ie. had exit status of 0. 'pclose' returns the exit status, so we now check that pclose (fp) != 0.
* Add 'initrd-list' command to list contents of initrd images.Richard W.M. Jones2009-06-291-0/+88
Add 'initrd-list' command to list the files inside (new-style) initrd images. Update virt-inspector to use this instead of the less efficient download/unpack locally method.