Whamcloud - gitweb
mke2fs: Allow specifying reserved_ratio via mke2fs.conf
authorAditya Kali <adityakali@google.com>
Tue, 10 May 2011 21:51:31 +0000 (14:51 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 15 May 2011 03:34:48 +0000 (23:34 -0400)
commitd3859af33f5bbbc432dedb20e85a5ae62e0fff03
tree13a9df80c232e127d5a03845bf0f9381baa3607c
parent598d20cc3c0f71561402e13c07aaf5880b85fa37
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>
e2fsck/profile.c
e2fsck/profile.h
misc/mke2fs.c
misc/mke2fs.conf.5.in
tests/mke2fs.conf.in