btrfs_fsck


Description:

[ Version ( deprecated = true , since = "1.17.43" ) ]
public bool btrfs_fsck (string device, BtrfsFsck? optargs) throws Error

Warning: btrfs_fsck is deprecated.

check a btrfs filesystem

Note:

In new code, use btrfs_scrub_full instead

Used to check a btrfs filesystem, device is the device file where the filesystem is stored.

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

Parameters:

this

A GuestfsSession object

optargs

a GuestfsBtrfsFsck containing optional arguments

Returns:

true on success, false on error