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
Karel Zak
ed8a13e6ee
cfdisk: menu actions refactoring
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
7aa0d52963
cfdisk: add create lebel UI
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
ac27ea5c28
cfdisk: consolidate menu move code
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
8a7261140f
cfdisk: supports also vertical menus
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
d051ea93b3
cfdisk: reorder abstract PT according to output
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
e11040bdfc
lib/tt: keep track about output order
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
9a66e1e76f
lib/tt: add tt_line_get_userdata()
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
5139eca74a
libfdisk: add dump functions, make freespace code generic
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
1b92d076ba
libfdisk: (dos) consolidate partition end-offset code
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
e77313a67d
libfdisk: (dos) fix ext_index usage
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
8903f7dfc9
cfdisk: improve tree output
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
bd5e829198
libfdisk: remove label specific get_freespace
...
- it seems we can use improved nested<->container relationship
rather than implement DOS specific function
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00
Karel Zak
bcddbe9688
libfdisk: (dos) fix log.partition delete
...
- deallocate sector buffer and deincrement part_max when delete last
logical partition
- zap obsolete EBR on begin of the extended partition when no logical
partition defined
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-11 11:35:14 +01:00