New API: Bind the tune2fs command.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 9 Nov 2011 17:54:38 +0000 (17:54 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 11 Nov 2011 10:48:22 +0000 (10:48 +0000)
commitc81a16a4e2e703d0aaa595151602bcf03430f6ab
treef7853e5ebe6896030a28287c35539bb634cffe34
parent9ba779ea367b2ea7077da7bdd75e813cd06c7eea
New API: Bind the tune2fs command.

Previously we bound the 'tune2fs -l' command so that we could list out
the tunables of an ext2/3/4 filesystem.  Also commands like
set_e2label and set_e2uuid used tune2fs.

This commit binds many of the tunables that can be set using tune2fs.

The coverage is not complete, but we can add more later because this
uses optional parameters so the call is extensible without breaking
ABI.  The current change gives us enough for using libguestfs within
OpenStack.
daemon/ext2.c
generator/generator_actions.ml
src/MAX_PROC_NR