From 36f9dac1a2530b575dab9226f6ddd85e6e8c8590 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 30 Apr 2009 19:32:58 +0100 Subject: Added notes to the 'fsck' command documentation. --- python/guestfs.py | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'python/guestfs.py') diff --git a/python/guestfs.py b/python/guestfs.py index 3cfc86a1..022150bd 100644 --- a/python/guestfs.py +++ b/python/guestfs.py @@ -1154,12 +1154,21 @@ class GuestFS: which should have filesystem type "fstype". The returned integer is the status. See fsck(8) for the - list of status codes from "fsck", and note that multiple - status codes can be summed together. + list of status codes from "fsck". - It is entirely equivalent to running "fsck -a -t fstype - device". Note that checking or repairing NTFS volumes is - not supported (by linux-ntfs). + 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". """ return libguestfsmod.fsck (self._o, fstype, device) -- cgit