aboutsummaryrefslogtreecommitdiff
path: root/lib/support/parse_qtype.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-05-01 00:57:19 -0400
committerTheodore Ts'o <tytso@mit.edu>2016-05-01 00:57:19 -0400
commit87d9b2fb9eec9f99d1af26bee2e133697247db2c (patch)
tree23fd426c88101124b5aab8b674ca79f3999fcdd4 /lib/support/parse_qtype.c
parentb3b7dafe91bc3e44eeada5cea91a0fd26587e609 (diff)
downloade2fsprogs-87d9b2fb9eec9f99d1af26bee2e133697247db2c.tar.gz
mke2fs: adjust the default file system size by the offset
If the user specifies an offset using -E offset without specifying an explicit size, the system will use the block device (or file) size as the default file system size. If we are using the default file system size, subtract out the offset so the resulting file system will stay within the block device. Also print a warning that this might not be what the user wants. Addresses-Debian-Bug: #803629 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/support/parse_qtype.c')
0 files changed, 0 insertions, 0 deletions