[Libguestfs] [PATCH 2/2] NEW API: new api e2fsck-fy for resize2fs

Richard W.M. Jones rjones at redhat.com
Fri Jan 13 10:12:58 UTC 2012


On Fri, Jan 13, 2012 at 02:27:50PM +0800, Wanlong Gao wrote:
> Add a new api e2fsck-fy for resize2fs.
> Sometimes e2fsck-f is not enough.
> 
> If resiz2fs return the message says: " Please use e2fsck-fy first",
> we just haven't such a command, it's so awkward.

Since we are going to rewrite the error message, can we change it to
say "use e2fsck-f first"?

It's not really clear to me what the difference is between
'e2fsck -p -f' (which is what we use for the 'e2fsck-f' command) and
'e2fsck -y -f'.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list