mksquashfs


Description:

[ Version ( since = "1.35.25" ) ]
public bool mksquashfs (string path, string filename, Mksquashfs? optargs, Cancellable? cancellable = null) throws Error

create a squashfs filesystem

Create a squashfs filesystem for the specified path.

The optional compress flag controls compression. If not given, then the output compressed using gzip. Otherwise one of the following strings may be given to select the compression type of the squashfs: gzip, lzma, lzo , lz4, xz.

The other optional arguments are:

excludes A list of wildcards. Files are excluded if they match any of the wildcards.

Please note that this API may fail when used to compress directories with large files, such as the resulting squashfs will be over 3GB big.

This function depends on the feature "squashfs". See also feature_available.

Parameters:

this

A GuestfsSession object

optargs

a GuestfsMksquashfs containing optional arguments

cancellable

A GCancellable object

Returns:

true on success, false on error




2022 vala-language.org