Ondrej Oprala
274228fecc
clean up redundant macros and defines
...
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2014-03-13 11:53:31 +01:00
Ondrej Oprala
2618b9cc1f
libfdisk: use include/debug.h
...
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2014-03-13 11:11:27 +01:00
Ondrej Oprala
ed64028665
libblkid: use include/debug.h
...
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2014-03-13 11:11:10 +01:00
Ondrej Oprala
d736582199
libmount: further debug.h integration
...
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2014-03-13 11:03:23 +01:00
Ondrej Oprala
b681c25834
libcommon: don't mention lib versions in debug macros
...
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2014-03-13 10:42:11 +01:00
Ondrej Oprala
cb3fa84753
libcommon: define more debugging macros
...
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2014-03-12 15:40:40 +01:00
Ondrej Oprala
cedd8e5f62
libmount: use macros from include/debug.h
...
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2014-03-12 14:37:58 +01:00
Ondrej Oprala
db08389d87
libcommon: add common debugging routines
...
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2014-03-12 14:37:41 +01:00
Karel Zak
5a1b4999f7
libfdisk: update GPT partition types
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-12 13:52:01 +01:00
Karel Zak
b9fa9ed4b3
mount: update XFS mount.8 allocsize=
...
Reported-by: Satoru Takeuchi
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-12 12:25:23 +01:00
Benno Schulenberg
27aadd8bf6
libfdisk: avoid two compiler warnings about wrong print formats
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-03-12 12:14:34 +01:00
Sami Kerola
a97b307a03
docs: add a new command boilerplate code
...
Having howtos is good, having an working code that can be used as-is to
kickstart a write of a new command is better.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-03-12 12:06:40 +01:00
Sami Kerola
cc93d115de
build-sys: sort gitignore files
...
Use 'LC_ALL=C sort -fu' order for all lists.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-03-12 12:06:37 +01:00
Sami Kerola
59ac7e76c6
tests: check swaplabel, and perform more swapon boundary tests
...
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-03-12 12:06:35 +01:00
Sami Kerola
793a05f840
mkswap: remove unnecessary usage output
...
The usage output changes too often making unnecessarily expected output
in test unstable. Besides in this case the usage ouput does not even
help user, because invalid swap target size error cannot be fixed by
specificing an option.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-03-12 12:06:33 +01:00
Karel Zak
62b07018c1
tests: cleanup fallocate
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-12 11:02:15 +01:00
Karel Zak
2d12322958
Merge branch 'master' of https://github.com/rudimeier/util-linux
...
* 'master' of https://github.com/rudimeier/util-linux :
tests, skip fallocate for unsupported filesystems
2014-03-12 10:55:47 +01:00
Karel Zak
c1a5428667
lib/colors: care about colors only on tty()
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-12 09:27:10 +01:00
Karel Zak
f948a1474f
libblkid: improve comment
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-12 09:11:36 +01:00
Ruediger Meier
fd25dcf456
tests, skip fallocate for unsupported filesystems
2014-03-11 15:53:19 +01:00
Karel Zak
1f54c9f607
tests: refresh fdisk outputs
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 13:00:41 +01:00
Karel Zak
5296523d6b
lib/strutils: fix parse_size() return code
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 12:59:42 +01:00
Karel Zak
f9b7d7a60f
tests: update fdisk MBR and SUN tests
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 12:35:44 +01:00
Karel Zak
41050b7e23
libfdisk: (bsd) fix output
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 12:33:30 +01:00
Karel Zak
ad9fe47e75
cfdisk: follow terminal-colors.d
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 12:22:35 +01:00
Karel Zak
8d6ec09aba
libfdisk: follow requested size rather than use all available space
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 12:16:14 +01:00
Karel Zak
2d49d0b65f
lib/colors: fix colors test
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:51:38 +01:00
Karel Zak
210bb49268
cfdisk: fix colors initialization
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:49:52 +01:00
Karel Zak
4ffbedba0e
fdisk: add note about colors to the man page
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:40:00 +01:00
Karel Zak
f1512be8a5
cfdisk: fix slang usage
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
4ddd86d5d9
build-sys: ove fdisks to disk-utils
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
d6b3ba417b
fdisk: merge fdisk-ask.c to fdisk.c
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
4b1cc035d7
sfdisk: merge partname.c
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
0eeeec3300
cfdisk: refresh man page
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
b230117970
cfdisk: update table index when out of range
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
ef97e92ba5
libfdisk: (sun) add info about whole-disk partition
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
33867d3b6f
cfdisk: fix header
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
7e241236fc
libfdisk: (sgi) cleanup, add infor about whole-disk partition
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
c1c58b492f
libfdisk: don't count special whole-disk partitions
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
889421798e
cfdisk: coding style, comments, etc.
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
3b411726b7
cfdisk: cleanup, rename menuitem struct
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
04915c3f4c
cfdisk: add usage() and some basic main() stuff
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
f019ce1fa4
cfdisk:add page down/up
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
a6f691268c
cfdisk: support partitions list longer than screen LINES
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
7b1ffbc438
cfdisk: improve write dialog
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:15 +01:00
Karel Zak
314a0dd8fc
cfdisk: add help screen
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
6d6d9c1a51
cfdisk: improve add parttype UI
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
6fed9601fc
cfdisk: add parttype dialog
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
c400e535aa
fdisk: remove unnecessary code
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
63128bbfdc
cfdisk: consolidate menu descriptions
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00