[ Version ( since = "1.19.5" ) ]
public int8 filesystem_available (string filesystem) throws Error
check if filesystem is available
Check whether libguestfs supports the named filesystem. The argument filesystem
is a filesystem name, such as ext3
.
You must call launch before using this command.
This is mainly useful as a negative test. If this returns true, it doesn't mean that a particular filesystem can be created or mounted, since filesystems can fail for other reasons such as it being a later version of the filesystem, or having incompatible features, or lacking the right mkfs.<*fs*> tool.
See also available, feature_available, "AVAILABILITY" in guestfs(3).
this |
A GuestfsSession object |
the returned value, or -1 on error |