cpio_out


Description:

[ Version ( since = "1.27.9" ) ]
public bool cpio_out (string directory, string cpiofile, CpioOut? optargs, Cancellable? cancellable = null) throws Error

pack directory into cpio file

This command packs the contents of directory and downloads it to local file cpiofile.

The optional format parameter can be used to select the format. Only the following formats are currently permitted:

newc New (SVR4) portable format. This format happens to be compatible with the cpio-like format used by the Linux kernel for initramfs.

This is the default format.

crc New (SVR4) portable format with a checksum.

Parameters:

this

A GuestfsSession object

optargs

a GuestfsCpioOut containing optional arguments

cancellable

A GCancellable object

Returns:

true on success, false on error