Changes between v2.22-rc1 and v2.22-rc2 -------------------------------------------- commit 123011de335c45c88eb503ecc1e2d930fda022d1 Author: Karel Zak Date: Wed Aug 15 18:05:00 2012 +0200 build-sys: release++ (v2.22-rc2) Signed-off-by: Karel Zak NEWS | 6 +++++- configure.ac | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) commit da42129daa4aaf99af15d75aaa734e1064ba0b0e Author: Karel Zak Date: Wed Aug 15 18:02:53 2012 +0200 docs: update v2.22-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.22-ReleaseNotes | 81 +++++++++++++++++++++++++++-- 1 files changed, 77 insertions(+), 4 deletions(-) commit 59c748fb3d347ed056aa24e18a602c198ef4f917 Author: Karel Zak Date: Wed Aug 15 17:59:56 2012 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit fc44048eb974b0c4cebc6d6a03f385cb54586807 Author: Karel Zak Date: Wed Aug 15 17:56:47 2012 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 469 +- po/cs.po | 469 +- po/da.po | 469 +- po/de.po | 469 +- po/es.po | 469 +- po/et.po | 469 +- po/eu.po | 469 +- po/fi.po | 469 +- po/fr.po |15181 ++++++++++++++++++++++++++++++----------------------- po/gl.po | 464 +- po/hu.po | 469 +- po/id.po | 469 +- po/it.po | 469 +- po/ja.po | 469 +- po/nl.po | 469 +- po/pl.po | 469 +- po/pt_BR.po | 469 +- po/ru.po | 469 +- po/sl.po | 469 +- po/sv.po | 469 +- po/tr.po | 469 +- po/uk.po | 469 +- po/util-linux.pot | 463 +- po/vi.po | 469 +- po/zh_CN.po | 468 +- po/zh_TW.po | 469 +- 26 files changed, 14955 insertions(+), 11939 deletions(-) commit f80a95f09a38d537b51b301b5b7d735f3ce89925 Author: David Prévot Date: Wed Aug 15 17:09:47 2012 +0200 po: update fr.po (from translationproject.org) po/fr.po |15194 +++++++++++++++++++++++++++----------------------------------- 1 files changed, 6542 insertions(+), 8652 deletions(-) commit b1b54edf9577fdcb7c49c3191a567c24c2d69e4b Author: Karel Zak Date: Wed Aug 15 17:04:41 2012 +0200 build-sys: add -Wmissing-declarations, sort warning options Signed-off-by: Karel Zak configure.ac | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) commit 361bdcf3c9f4f241980b8182b1861027a4ade431 Author: Karel Zak Date: Wed Aug 15 16:44:18 2012 +0200 tests: update build-sys tests - remove tests programs (no more compiled by default) - add resizepart Signed-off-by: Karel Zak tests/expected/build-sys/config-all | 47 +------------------------- tests/expected/build-sys/config-all-non-nls | 47 +------------------------- tests/expected/build-sys/config-audit | 47 +------------------------- tests/expected/build-sys/config-core | 47 +------------------------- tests/expected/build-sys/config-devel | 47 +------------------------- tests/expected/build-sys/config-non-libblkid | 22 ------------ tests/expected/build-sys/config-non-libmount | 38 +-------------------- tests/expected/build-sys/config-non-libs | 21 ----------- tests/expected/build-sys/config-non-libuuid | 46 +------------------------ tests/expected/build-sys/config-non-nls | 47 +------------------------- tests/expected/build-sys/config-old-mount | 47 +------------------------- tests/expected/build-sys/config-selinux | 47 +------------------------- tests/expected/build-sys/config-slang | 47 +------------------------- tests/expected/build-sys/config-static | 47 +------------------------- 14 files changed, 12 insertions(+), 585 deletions(-) commit 7011f487c57880d56830e11154e5bf4a09c77e3b Author: Karel Zak Date: Wed Aug 15 16:06:19 2012 +0200 uuidd: improve systemd unit files - use $usrsbin_execdir - add [Install] section - use long options Signed-off-by: Karel Zak misc-utils/uuidd.service.in | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit d4baf92e50da3545f80c87d12e4e3827febcc4fa Author: Karel Zak Date: Wed Aug 15 01:53:40 2012 +0200 build-sys: expand paths at make time autoconf docs about *dir variables (e.g bindir): ... A corollary is that you should not use these variables except in makefiles... ...you should not rely on AC_CONFIG_FILES to replace bindir and friends in your shell scripts and other files; instead, let make manage their replacement. Signed-off-by: Karel Zak Makefile.am | 37 +++++++++++++++++++++++++++++++++++++ configure.ac | 12 ++++-------- libblkid/Makemodule.am | 3 ++- libmount/Makemodule.am | 3 ++- libuuid/Makemodule.am | 3 ++- misc-utils/Makemodule.am | 7 +------ 6 files changed, 48 insertions(+), 17 deletions(-) commit 43f8915c51f1b36c3d1d79d06d58ea5fb27a6cca Author: B Watson Date: Tue Aug 14 18:27:09 2012 +0200 column: --separator segfaults The --separator and --columns long options in util-linux-2.21.2 and in a git clone from 5 minutes ago, don't work: $ echo foobar | column -s x foobar $ echo foobar | column -c 10 foobar $ echo foobar | column --separator=x column: option '--separator' doesn't allow an argument $ echo foobar | column --separator x Segmentation fault $ echo foobar | column --columns 10 column: bad columns width value: '(null)': Invalid argument $ echo foobar | column --columns=10 column: option '--columns' doesn't allow an argument Looks like a simple case of missing has_arg flag in the "struct option" initialization for these two options. The patch just adds the flag. I haven't done thorough testing of the patched code, but it seems to work OK and it no longer segfaults or tries to dereference a null pointer. Signed-off-by: Karel Zak text-utils/column.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f31322a28922d51e8b32e7e9107ed403b8f2e359 Author: Bernhard Voelker Date: Tue Aug 14 09:01:45 2012 +0200 lib/sysfs: make sysfs_partno_to_devno better readable Signed-off-by: Bernhard Voelker lib/sysfs.c | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) commit 88ca32b38bc6c80a4423a210a58de4fb4babe36d Author: Karel Zak Date: Tue Aug 14 18:14:35 2012 +0200 lsblk: add WWN, improve udev support * read WWN from udev DB * use *_ENC properties from udev DB to get original unmodified strings (otherwise for example blank space is replaced with '_' in ID_FS_LABEL) * always read from udev, libblkid is fallback solution only Signed-off-by: Karel Zak misc-utils/lsblk.8 | 4 ---- misc-utils/lsblk.c | 50 +++++++++++++++++++++++++++++++++++++------------- 2 files changed, 37 insertions(+), 17 deletions(-) commit 8651b6a70a6f4c32c134745674dc7b72edaa2dfd Author: Karel Zak Date: Tue Aug 14 08:33:39 2012 +0200 resizepart: remove debug message Signed-off-by: Karel Zak disk-utils/resizepart.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 8863a802eb9282d436cfb30ce69fb07f5ffb47b3 Author: Karel Zak Date: Mon Aug 13 22:10:14 2012 +0200 resizepart: add new command This is a simple wrapper for BLKPG_RESIZE_PARTITION (since kernel 3.6). Co-Author: Vivek Goyal Signed-off-by: Karel Zak .gitignore | 1 + disk-utils/Makemodule.am | 9 +++- disk-utils/partx.h | 31 +++++++++++++ disk-utils/resizepart.8 | 38 ++++++++++++++++ disk-utils/resizepart.c | 109 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 186 insertions(+), 2 deletions(-) commit 778ad369f6d7afd70a1a001f2dfe55f08be3734b Author: Karel Zak Date: Mon Aug 13 22:06:18 2012 +0200 lib/sysfs; add sysfs_partno_to_devno() Signed-off-by: Karel Zak include/sysfs.h | 1 + lib/sysfs.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 54 insertions(+), 4 deletions(-) commit f369387731d83d4fc5aa42c883c3033e6f8466bb Author: Karel Zak Date: Mon Aug 13 21:57:34 2012 +0200 lib/mangle: remove unused variable Signed-off-by: Karel Zak lib/mangle.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit a3b780532f926bc027d812b5317eda727a866fea Author: Karel Zak Date: Mon Aug 13 21:11:37 2012 +0200 lib/sysfs: expect p suffix for partitions ... so for example lsblk(8) will see partitioned loop devices loop0 7:0 0 80G 0 loop ├─loop0p1 259:0 0 100M 0 loop └─loop0p2 259:1 0 79.9G 0 loop Signed-off-by: Karel Zak lib/sysfs.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit 096db1ead1ee2baea4acf5e44b192ad442733023 Author: Karel Zak Date: Mon Aug 13 16:25:01 2012 +0200 libmount: fix unmangle code old version: /mnt/ugly/te\134st\134 -> /mnt/ugly/te\st\134 fixed version: /mnt/ugly/te\134st\134 -> /mnt/ugly/te\st\ Reported-by: Naja Melan Signed-off-by: Karel Zak lib/mangle.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 4ceb601d21f9448f02e713a0860fd8007f3631b8 Author: Milan Broz Date: Mon Aug 13 13:55:30 2012 +0200 dmesg: fix kmsg read if read returns EPIPE The /dev/kmsg can return EPIPE if current record has beed modified while reading. For init_kmsg, it cause switch to DMESG_METHOD_SYSLOG (which is not expected) and later it can truncate output. Signed-off-by: Milan Broz sys-utils/dmesg.c | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) commit 3514cc3a8f14cc39589fee3edefaa161ac1bd0a6 Author: Dave Reisner Date: Mon Aug 6 11:16:12 2012 -0400 eject: return proper 0/1 from eject_cdrom() main() expects this method to return 0 for failure and 1 for success, as the other eject_*() methods do. Add the missing comparison of ioctl() >= 0 Signed-off-by: Dave Reisner Signed-off-by: Karel Zak sys-utils/eject.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 4797b1e5928219864215c7b7cf9e6d023e345675 Author: Samuel Thibault Date: Wed Aug 8 17:19:43 2012 +0200 Fix non-Linux build loopdev.c, test_pager, and get_max_number_of_cpus() are linux-specific. get_linux_version will only work on Linux, let's introduce system_supports_ext4_ext2() which assumes that mounting ext2 with ext4 is not supported on non-Linux systems. [kzak@redhat.com: - use #ifdef SYS_sched_getaffinity rather than __linux__] Signed-off-by: Samuel Thibault Signed-off-by: Karel Zak lib/Makemodule.am | 9 +++++---- lib/cpuset.c | 2 ++ libblkid/src/superblocks/ext.c | 15 ++++++++++++--- 3 files changed, 19 insertions(+), 7 deletions(-) commit 109896c36b768ba7a3ef2ffa581c087272ec329f Author: Davidlohr Bueso Date: Wed Aug 8 13:48:28 2012 +0200 fdisk: aix: fix warning Fixes: warning: no previous prototype for ‘aix_nolabel’ Signed-off-by: Davidlohr Bueso fdisks/fdiskaixlabel.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 7fc12cd2760f8f2858eef8bd7e170cef9932d26f Author: Heiko Carstens Date: Wed Aug 8 10:52:47 2012 +0200 lscpu: limit options --all, --online, --offline to parsable and extended output Passing the --all, --online or --offline options for the output summary doesn't make much sense. It should be limited to the two list output options. Signed-off-by: Heiko Carstens sys-utils/lscpu.1 | 9 ++++++--- sys-utils/lscpu.c | 12 ++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) commit 17b1c1368de17d31e053d4bef3f2e0a74bbbd73b Author: Karel Zak Date: Mon Aug 13 14:23:04 2012 +0200 lib/tt: always escape '\' to simplify parsing in scripts The commands echo(1) and printf(1) are usable for escape sequences decoding, for example for x in $(findmnt --noheading --raw --output TARGET); do printf "%b" $x done but it's necessary to escape all '\' chars, otherwise for example \b in foo\bar will be interpreted as backspace. It means that for example findmnt(8) has to use \x5c for the backslash. # findmnt --noheading --raw --output TARGET /dev/sda1 /mnt/ugly/foo\x5cbar Reported-by: Pádraig Brady Signed-off-by: Karel Zak lib/tt.c | 17 +++-------------- 1 files changed, 3 insertions(+), 14 deletions(-) commit 33e785491b073ffe8a5f7546d214b8340ad29394 Author: Karel Zak Date: Wed Aug 8 08:58:28 2012 +0200 lib/tt: fix \x%02x usage Signed-off-by: Karel Zak lib/tt.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 0f5413048acea94d7bc30038ef556d42335b0337 Author: Karel Zak Date: Tue Aug 7 11:19:54 2012 +0200 include/tt: improve work with non-utf8 chars Reported-by: Pádraig Brady Signed-off-by: Karel Zak lib/tt.c | 32 +++++++++++++++++++++++--------- 1 files changed, 23 insertions(+), 9 deletions(-) commit 404fa3f33b0c2c5e84ea327b8bdc22e6f27b2dbe Author: Sami Kerola Date: Sat Aug 4 09:33:39 2012 +0200 build-sys: add files make check generates in gitignore The config/test-driver appears at automake stage, rest after running 'make check'. Signed-off-by: Sami Kerola Signed-off-by: Karel Zak .gitignore | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 69a826f187cbef2acf3fda2512f28ea31c42933c Author: Sami Kerola Date: Sat Aug 4 09:33:40 2012 +0200 vipw: make vim writebackup mode work Some editors, such as Vim with 'writebackup' mode enabled, use "atomic save" in which the old file is deleted and a new one with the same name created in its place. The vipw tries to detect if such happen by looking hard temporary file link count, when it is zero reopen temporary file by using it's path. Reported-by: Mantas Mikulėnas References: http://www.spinics.net/lists/util-linux-ng/msg06666.html Signed-off-by: Sami Kerola login-utils/vipw.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit 7c289c7c79207b9672b598236c77439227cec041 Author: Sami Kerola Date: Sat Aug 4 09:33:38 2012 +0200 docs: add sys-utils/umount.8 manual page The man page is almost exact copy of mount-deprecated/umount.8. This version mentions long options, and has the options in same order as they are mentioned in usage() output. Rest of the minor changes make groff slightly nicer e.g. use .PP instead of empty line for paragraph marker. Signed-off-by: Sami Kerola sys-utils/Makemodule.am | 2 +- sys-utils/umount.8 | 175 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 176 insertions(+), 1 deletions(-) commit 9289e628eb43855b997e32e377bdfbae13538c29 Author: Sami Kerola Date: Sat Aug 4 09:33:37 2012 +0200 docs: update TODO Remove tasks that are done. dmesg: --follow option Reference: 0fd12a9697c2e01e3c2e1e558ff027cd2947ee94 build-sys: recursive build Reference: 8772f8d7eeeb922bccee3376552c59d7148df7b4 Signed-off-by: Sami Kerola Documentation/TODO | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) commit 316919a2e27b76e4c38836144f193ebdbbbf3367 Author: Sami Kerola Date: Sat Aug 4 09:33:36 2012 +0200 docs: ftp server does no longer support util-linux-ng A symlink was probably removed from ftp://ftp.kernel.org/pub/linux/utils/ Signed-off-by: Sami Kerola Documentation/releases/v2.13-ReleaseNotes | 2 +- Documentation/releases/v2.14-ReleaseNotes | 10 +++--- Documentation/releases/v2.15-ReleaseNotes | 10 +++--- Documentation/releases/v2.16-ReleaseNotes | 6 ++-- Documentation/releases/v2.17-ReleaseNotes | 12 ++++---- Documentation/releases/v2.18-ReleaseNotes | 12 ++++---- NEWS | 42 ++++++++++++++-------------- 7 files changed, 47 insertions(+), 47 deletions(-) commit fce849325c6409e36617c580bccafe1464803aa8 Author: Karel Zak Date: Mon Aug 6 12:50:09 2012 +0200 lib/tt: count read cells, improve \x?? hex encoding * use wcwidth() to count real number of columns required for multibyte strings * encode control characters with \x?? in raw and export (NAME=data) outputs * use \x?? for controls and non-printable characters in the default outputs * use \x?? to encode already existing hex sequences, for example /mnt/ugly\x20space ---> /mnt/ugly\x5cx20space this is not used in the default output, but in raw/export outputs only (which is designed for scripts). Signed-off-by: Karel Zak lib/tt.c | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 161 insertions(+), 14 deletions(-) commit 5f7c18902fe2cd1e8b7d8d205680546d056000f7 Author: Karel Zak Date: Mon Aug 6 12:45:08 2012 +0200 mount: replace control chars in mountpoint name For compatibility with coreutils and to avoid complex solutions in mount output mount replaces control characters with '?'. Note that the listing mode in mount(8) is in maintenance mode -- findmnt(8) provides more robust and better solutions. Signed-off-by: Karel Zak sys-utils/mount.8 | 14 +++++++------- sys-utils/mount.c | 21 ++++++++++++++++++++- 2 files changed, 27 insertions(+), 8 deletions(-) commit 91f98496f3901ea68853745edac67e3288a3886d Author: Karel Zak Date: Fri Aug 3 21:33:32 2012 +0200 docs: update tests docs Signed-off-by: Karel Zak Documentation/howto-tests.txt | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) commit 1b03e2cd33a059fdd355c52899e151130777c44f Author: Karel Zak Date: Fri Aug 3 21:24:51 2012 +0200 tests: make compatible with autotools The command 'make check' is called from 'make distcheck' (which is used to generate official util-linux tarballs). It means that tests/ stuff has to be compatible with autotools and differentiate between source and build directories. * remove run-nonroot.sh (merged into run.sh * remove commands.sh.in * all tests and top level run.sh accept --builddir and --srcdir command line options * functions.sh modified to use $top_builddir/tests for output files Signed-off-by: Karel Zak Makefile.am | 3 ++ configure.ac | 1 - tests/.gitignore | 1 - tests/Makemodule.am | 11 ++++++-- tests/commands.sh | 64 +++++++++++++++++++++++++++++++++++++++++++++++ tests/commands.sh.in | 68 -------------------------------------------------- tests/functions.sh | 30 +++++++++++++++++++--- tests/run-nonroot.sh | 9 ------ tests/run.sh | 58 +++++++++++++++++++++++++++++++++++------- 9 files changed, 149 insertions(+), 96 deletions(-) commit b456a677f226bb3c7e2a692b3719f268211236cb Author: Karel Zak Date: Fri Aug 3 16:24:51 2012 +0200 build-sys: add tests/run-nonroot.sh to automake file Signed-off-by: Karel Zak tests/Makemodule.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 43ffdc82fa3ef632638cf5e6899811fc4b01d351 Author: Karel Zak Date: Thu Aug 2 20:19:14 2012 +0200 build-sys: don't compile lib{mount,blkid} tests when --disable-static specified The tests often depend on private (non-API) library functions. Signed-off-by: Karel Zak Documentation/howto-tests.txt | 3 +++ configure.ac | 2 ++ libblkid/src/Makemodule.am | 4 ++++ libmount/src/Makemodule.am | 3 +++ 4 files changed, 12 insertions(+), 0 deletions(-) commit a754adbd6925949314620808f8ae1f4df26b7e03 Author: Karel Zak Date: Thu Aug 2 19:25:00 2012 +0200 wdctl: tiny change to man page Signed-off-by: Karel Zak sys-utils/wdctl.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fb8b62df375fafe2cc59ed676dad3befc9c7baca Author: Harald Hoyer Date: Wed Aug 1 13:39:06 2012 +0200 wdctl: add "--settimeout" to set the timeout [kzak@redhat.com: - fix usage() and man page] Signed-off-by: Karel Zak Signed-off-by: Harald Hoyer sys-utils/wdctl.8 | 2 + sys-utils/wdctl.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 79 insertions(+), 10 deletions(-) commit 298a073c2afdeb02dd3a8dd2c6fd1f72a3916e44 Author: Karel Zak Date: Thu Aug 2 17:39:14 2012 +0200 dmesg: fix kmsg usability detection On old kernels (<3.5) kernel allows to open read-only /dev/kmsg for root, but read() returns -EINVAL. It means that open() is not enough to detect /dev/kmsg usability. We have to call read() (or epoll). Reported-by: Kay Sievers Signed-off-by: Karel Zak sys-utils/dmesg.c | 47 +++++++++++++++++++++++++++++++++++------------ 1 files changed, 35 insertions(+), 12 deletions(-) commit b1c7f6de74d774a7acf3427f653ad645bcbf9716 Author: Karel Zak Date: Wed Aug 1 19:00:30 2012 +0200 tests: add libmount optstr deduplicate Signed-off-by: Karel Zak tests/expected/libmount/optstr-deduplicate | 1 + tests/ts/libmount/optstr | 4 ++++ 2 files changed, 5 insertions(+), 0 deletions(-) commit f1f9a46abd47ff7c681fd22ecf81a31260498f2c Author: Karel Zak Date: Wed Aug 1 17:52:22 2012 +0200 libmount: deduplicate SELinux mount options We already have a clue about SELinux specific mount options in libmount, so it makes sense to deduplicate the options as Linux kernel does not support duplicate SELinux options. (SELinux kernel stuff somehow ignores standard Linux mount conventions...) Requested-by: Niels de Vos Signed-off-by: Karel Zak libmount/src/context_mount.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit 6870636c7f144038de8262a66d658abaafd51eaf Author: Karel Zak Date: Wed Aug 1 17:51:43 2012 +0200 libmount: add mnt_optstr_deduplicate_option() Signed-off-by: Karel Zak libmount/docs/libmount-sections.txt | 1 + libmount/src/libmount.h.in | 2 + libmount/src/libmount.sym | 19 ++++++----- libmount/src/optstr.c | 61 +++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+), 9 deletions(-) commit 31d33229a19a45c4ce9aa6e5961e2e1f8276cb1e Author: Karel Zak Date: Wed Aug 1 11:16:00 2012 +0200 tests: standardize fdisk headers in MBR tests Signed-off-by: Karel Zak tests/expected/fdisk/mbr-dos-mode | 22 +++++++++++----------- tests/expected/fdisk/mbr-nondos-mode | 24 ++++++++++++------------ tests/ts/fdisk/mbr-dos-mode | 5 +++-- tests/ts/fdisk/mbr-nondos-mode | 4 +++- 4 files changed, 29 insertions(+), 26 deletions(-) commit c057c0d2855c19bd0cef90af660173dd7a8dd0e9 Author: Bernhard Voelker Date: Wed Aug 1 10:35:34 2012 +0200 tests: blkid/md-raid1-part fails [kzak@redhat.com: - I forgot to apply this part of the Bernhard's patch] Signed-off-by: Bernhard Voelker Signed-off-by: Karel Zak tests/ts/blkid/md-raid1-part | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit a6eb85b2372fb97efc29332b9a484c8d69af8874 Author: Bernhard Voelker Date: Tue Jul 31 08:24:13 2012 +0200 tests: cleanup ts_is_mounted * tests/functions.sh (ts_is_mounted): Remove check for canonicalization failure again, because it is now done by ts_canonicalize. Signed-off-by: Bernhard Voelker tests/functions.sh | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit ebb857720fd2ba352d9090ae4a3089fe8201a806 Author: Bernhard Voelker Date: Tue Jul 31 16:36:35 2012 +0200 tests: make blkid/md-raid1-part more robust * tests/expected/blkid/mk-raid1-part: Replace major and minor number of ID_PART_ENTRY_DISK by a special string. Add ID_FS_UUID and ID_FS_UUID_ENC again, also with a special string. * tests/ts/blkid/md-raid1-part: Before comparing the expected output with the actual output, replace the values of ID_PART_ENTRY_DISK, ID_FS_UUID and ID_FS_UUID_ENC with the speacial strings mentioned above. Signed-off-by: Bernhard Voelker tests/expected/blkid/md-raid1-part | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 675c1ffa6fc056cec3acc26f2e8fa0f3e5e922c7 Author: Karel Zak Date: Tue Jul 31 19:57:46 2012 +0200 tests: add non-dos mode fdisk test tests/expected/fdisk/mbr-nondos-mode | 195 ++++++++++++++++++++++++++++++++++ tests/ts/fdisk/mbr-nondos-mode | 135 +++++++++++++++++++++++ 2 files changed, 330 insertions(+), 0 deletions(-) commit 611de4cc2a4e636dc7e18b7f67f97461bf64b782 Author: Karel Zak Date: Tue Jul 31 19:55:44 2012 +0200 build-sys: use slash for binaries in gitignore .. otherwise git interprets binaries names as shell blog and apply the pattern globally. Signed-off-by: Karel Zak .gitignore | 216 ++++++++++++++++++++++++++++++------------------------------ 1 files changed, 107 insertions(+), 109 deletions(-) commit 7e6e9c701866e1588852b8ce000290ca1ca54d4c Author: Karel Zak Date: Tue Jul 31 19:07:37 2012 +0200 fdisk: cast before count size Signed-off-by: Karel Zak fdisks/fdisk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2650cac98c31dee18620d908fd84860b51d5689e Author: Karel Zak Date: Tue Jul 31 19:02:47 2012 +0200 tests: add layout info to dos mode test Signed-off-by: Karel Zak tests/expected/fdisk/mbr-dos-mode | 158 +++++++++++++++++++++++++++++++++++++ tests/ts/fdisk/mbr-dos-mode | 33 ++++++++ 2 files changed, 191 insertions(+), 0 deletions(-) commit 1d188d0052af9e26a945c4f9050ae49453ccb026 Author: Karel Zak Date: Tue Jul 31 17:34:15 2012 +0200 tests: rename doslabel test Signed-off-by: Karel Zak tests/expected/fdisk/doslabel | 24 --------- tests/expected/fdisk/mbr-dos-mode | 24 +++++++++ tests/ts/fdisk/doslabel | 99 ------------------------------------ tests/ts/fdisk/id | 2 +- tests/ts/fdisk/mbr-dos-mode | 101 +++++++++++++++++++++++++++++++++++++ 5 files changed, 126 insertions(+), 124 deletions(-) commit a9770f7fa0d113f3fda10e7c62c65809bc6027cb Author: Karel Zak Date: Mon Jul 30 18:37:54 2012 +0200 docs: update howto-tests.txt Signed-off-by: Karel Zak Documentation/howto-tests.txt | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) commit fc22bff04b90709b7c68b3d3206e79c09efb664d Author: Karel Zak Date: Mon Jul 30 18:19:20 2012 +0200 build-sys: add run.sh to make check for non-root users Signed-off-by: Karel Zak Makefile.am | 1 + tests/Makemodule.am | 1 + tests/run-nonroot.sh | 9 +++++++++ 3 files changed, 11 insertions(+), 0 deletions(-) commit b5606aada4d84dbf529afd19fc992a7a7fdc1921 Author: Karel Zak Date: Mon Jul 30 18:00:33 2012 +0200 tests: check for 'make check' Signed-off-by: Karel Zak tests/run.sh | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 922e6775e0c731c7155e80de4cca3cd74fca2f9a Author: Karel Zak Date: Mon Jul 30 17:59:16 2012 +0200 build-sys: move tests to check_PROGRAMS Thanks to Mike Frysinger. Signed-off-by: Karel Zak Documentation/howto-tests.txt | 3 +++ Makefile.am | 1 + lib/Makemodule.am | 6 +++--- libblkid/samples/Makemodule.am | 2 +- libblkid/src/Makemodule.am | 2 +- libmount/src/Makemodule.am | 2 +- libuuid/src/Makemodule.am | 2 +- login-utils/Makemodule.am | 2 +- tests/helpers/Makemodule.am | 8 ++++---- 9 files changed, 16 insertions(+), 12 deletions(-) commit 46949388c6945fcbdcd5bc059fd5fb10a1e56597 Author: Karel Zak Date: Mon Jul 30 17:43:10 2012 +0200 tests: remove lt- prefixes Reported-by: Bernhard Voelker Signed-off-by: Karel Zak tests/expected/fdisk/oddinput | 4 ++-- tests/functions.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) commit ec34526a54e7da98534eada324a35f74d320b789 Author: Steven J. Magnani Date: Mon Jul 30 07:24:07 2012 -0500 util-linux: Document new FAT options Add man-page documentation for the new 'discard' and 'nfs' options available for vfat/msdos filesystems. Signed-off-by: Steven J. Magnani sys-utils/mount.8 | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit b53f8b8eff0c826e50190e1422d4ae9ec39d9962 Author: Petr Uzel Date: Fri Jul 27 13:15:54 2012 +0200 build-sys: include tools/git-version-gen in the tarball tools/git-version-gen is called from AC_INIT. Include it in the tarball to make it easier to autoreconf-igure the package. Signed-off-by: Petr Uzel Makefile.am | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit c9b534611225865104b258dec26450b892e9a808 Author: Petr Uzel Date: Fri Jul 27 12:09:01 2012 +0200 build-sys: fix description of utmpdump configure option Signed-off-by: Petr Uzel configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6dfe6f0e829912e3dfca87d69f1211c0b4f5a900 Author: Karel Zak Date: Mon Jul 30 17:10:38 2012 +0200 tests: more robust symlinks usage Reported-by: Bernhard Voelker Signed-off-by: Karel Zak tests/functions.sh | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) commit 018a38a64cda88b0402f55b616ef58168be1f7e9 Author: Bernhard Voelker Date: Fri Jul 27 11:00:17 2012 +0200 tests: use ts_is_mounted in mount/regfile If the test directory is on a symlink, then mount/regfile failed because it did not search for the mount point in /proc/mounts canonicalized. Signed-off-by: Bernhard Voelker tests/ts/mount/regfile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit ee9c04f48c142ca6b981a9061af25ebc9763903e Author: Bernhard Voelker Date: Fri Jul 27 10:35:01 2012 +0200 tests: search mount point in canonicalized form in /proc/mounts * tests/functions.sh (ts_is_mounted): Enhance to resolve symlinks in given mount point before grep'ing in /proc/mount. If the test directory is on a symlink, then e.g. tests/ts/cramfs/doubles failed because the kernel keeps the mount entry in a canonicalized form in /proc/mounts while this function searched for it with the original path name. Signed-off-by: Bernhard Voelker tests/functions.sh | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 454996c495de82c8cfaeeb4e99bbbfa84d509af0 Author: Karel Zak Date: Mon Jul 30 14:57:29 2012 +0200 docs: add note about enabled kill(1) to v2.22-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.22-ReleaseNotes | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 506eb04c3ddfda6257cfb332454fe7ce273a3230 Author: Karel Zak Date: Fri Jul 27 10:17:10 2012 +0200 docs: add note about partx output change Signed-off-by: Karel Zak Documentation/releases/v2.22-ReleaseNotes | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit a7134cf512f0239efde2da5220cb30c06d1a834a Author: Bernhard Voelker Date: Fri Jul 27 09:57:38 2012 +0200 doc: fix typo in v2.22-ReleaseNotes Signed-off-by: Bernhard Voelker Documentation/releases/v2.22-ReleaseNotes | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c57dca6877d431095ff1d3c4158ffe4352766b7e Author: Milan Broz Date: Thu Jul 26 15:52:07 2012 +0200 findmnt: support -o + for adding attribute to output fields. Signed-off-by: Milan Broz misc-utils/findmnt.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-)