From 3e408f493496597dc026d20778837f421f05a9dd Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 21 May 2009 16:18:16 +0100 Subject: Generated code for e2fsck-f command. --- perl/lib/Sys/Guestfs.pm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'perl/lib/Sys') diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm index e7f89248..cba00325 100644 --- a/perl/lib/Sys/Guestfs.pm +++ b/perl/lib/Sys/Guestfs.pm @@ -499,6 +499,15 @@ Setting C to 3 should drop everything. This automatically calls L before the operation, so that the maximum guest memory is freed. +=item $h->e2fsck_f ($device); + +This runs C, ie. runs the ext2/ext3 +filesystem checker on C, noninteractively (C<-p>), +even if the filesystem appears to be clean (C<-f>). + +This command is only needed because of C<$h-Eresize2fs> +(q.v.). Normally you should use C<$h-Efsck>. + =item $h->end_busy (); This sets the state to C, or if in C then it leaves the @@ -910,6 +919,12 @@ function which has a more complex interface. This resizes an ext2 or ext3 filesystem to match the size of the underlying device. +I It is sometimes required that you run C<$h-Ee2fsck_f> +on the C before calling this command. For unknown reasons +C sometimes gives an error about this and sometimes not. +In any case, it is always safe to call C<$h-Ee2fsck_f> before +calling this function. + =item $h->rm ($path); Remove the single file C. -- cgit