Commit Graph

14 Commits

Author SHA1 Message Date
Benjamin Gilbert
2679e7f088 thin_metadata_size: Fix long names of units
Both implementations of thin_metadata_size believe units are defined
like this:

    1024 == kilobyte == k
    1000 == kibibyte == K

and so on.  Fix the 1000/1024 confusion, while continuing to follow the
LVM convention of using lowercase letters for binary units, so that we
have:

    1024 == kibibyte == k
    1000 == kilobyte == K
2014-05-17 03:51:06 -04:00
Benjamin Gilbert
e7e3e93ec6 thin_metadata_size: Drop executable bit on source file 2014-05-17 03:51:03 -04:00
Joe Thornber
c24fa93f2c whitespace 2014-01-15 15:50:50 +00:00
Heinz Mauelshagen
e8f9fc6dff thin_metadata_size: use NOO_NUMBER whilst defining full bool 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
b7ca980664 thin_metadata_size: support short/long --numeric-only options; man page adjustment; change long output; stremaline 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
ce4e01d8c9 thin_metadata_size: remove superfluous array; streamline 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
03d2ca3a99 thin_metadata_size: support long unit specifiers; make sure exit_prg() is being called; update manual page 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
e4912f548c thin_metadata_size.c: support -V option; support -n option argument for unit specifier; add input parameter set to long output 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
5a039267df thin_dump: support --metadata-snap block# 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
ed88882007 autconf: support build of thin_metadata_size.c 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
80be0d0f54 thin_metadata_size.c: indenting 2013-07-18 14:51:09 +02:00
Heinz Mauelshagen
e1067455c4 thin_metadata_size.c: fix --maxthins unit processing 2013-07-18 14:51:09 +02:00
Heinz Mauelshagen
74cd1f6b28 thin_metadata_size.c: format output enhancements 2013-07-18 14:51:09 +02:00
Heinz Mauelshagen
65598e3132 thin_metadata_size.c: new C implementation of metadata size calculation tool 2013-07-18 14:51:09 +02:00