From 0703248d233744047515418893dac05ce013a642 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 30 Apr 2009 18:57:07 +0100 Subject: Add generated code for 'fsck' command. --- perl/lib/Sys/Guestfs.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'perl/lib/Sys/Guestfs.pm') diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm index efc28457..5b87b27e 100644 --- a/perl/lib/Sys/Guestfs.pm +++ b/perl/lib/Sys/Guestfs.pm @@ -468,6 +468,19 @@ The exact command which runs is C. Note in particular that the filename is not prepended to the output (the C<-b> option). +=item $status = $h->fsck ($fstype, $device); + +This runs the filesystem checker (fsck) on C which +should have filesystem type C. + +The returned integer is the status. See L for the +list of status codes from C, and note that multiple +status codes can be summed together. + +It is entirely equivalent to running C. +Note that checking or repairing NTFS volumes is not supported +(by linux-ntfs). + =item $autosync = $h->get_autosync (); Get the autosync flag. -- cgit