vfs_type


Description:

[ Version ( since = "1.0.75" ) ]
public string vfs_type (string mountable) throws Error

get the Linux VFS type corresponding to a mounted device

This command gets the filesystem type corresponding to the filesystem on mountable.

For most filesystems, the result is the name of the Linux VFS module which would be used to mount this filesystem if you mounted it without specifying the filesystem type. For example a string such as ext3 or ntfs.

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error