initrd_list


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.0.54" ) ]
public string[] initrd_list (string path) throws Error

list files in an initrd

This command lists out files contained in an initrd.

The files are listed without any initial / character. The files are listed in the order they appear (not necessarily alphabetical). Directory names are listed as separate items.

Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as initrd. We *only* support the newer initramfs format (compressed cpio files).

Parameters:

this

A GuestfsSession object

Returns:

an array of returned strings, or NULL on error