summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAditya Kali <adityakali@google.com>2011-05-10 14:51:31 -0700
committerTheodore Ts'o <tytso@mit.edu>2011-05-14 23:34:48 -0400
commitd3859af33f5bbbc432dedb20e85a5ae62e0fff03 (patch)
tree13a9df80c232e127d5a03845bf0f9381baa3607c /tests
parent598d20cc3c0f71561402e13c07aaf5880b85fa37 (diff)
downloade2fsprogs-d3859af33f5bbbc432dedb20e85a5ae62e0fff03.tar.gz
mke2fs: Allow specifying reserved_ratio via mke2fs.conf
This patch adds support for specifying 'reserved_ratio' (percent blocks reserved for super user, same as '-m' command line option) in mke2fs.conf. It adds profile_get_double function in profile.c that allows reading floating point values from profile files. Signed-off-by: Aditya Kali <adityakali@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/mke2fs.conf.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mke2fs.conf.in b/tests/mke2fs.conf.in
index 070d5d56..fbe2e2a7 100644
--- a/tests/mke2fs.conf.in
+++ b/tests/mke2fs.conf.in
@@ -3,6 +3,7 @@
blocksize = 4096
inode_size = 256
inode_ratio = 16384
+ reserved_ratio = 5.0
enable_periodic_fsck = true
lazy_itable_init = false
default_mntopts = ^acl