fsck
Description:
run the filesystem checker
This runs the filesystem checker (fsck) on device which should have filesystem type fstype.
The returned integer is the status. See fsck(8) for the list of status codes from fsck.
Notes:
* Multiple status codes can be summed together.
* A non-zero return code can mean "success", for example if errors have been corrected on the filesystem.
* Checking or repairing NTFS volumes is not supported (by linux-ntfs).
This command is entirely equivalent to running "fsck -a -t fstype device".
Parameters:
| this |
A GuestfsSession object |
Returns:
|
the returned value, or -1 on error |