Changes between v2.24-rc1 and v2.24-rc2 -------------------------------------------- commit e6ce04c74bf3a73e0972f86c113e15ccbe093c46 Author: Karel Zak Date: Fri Oct 11 13:11:45 2013 +0200 build-sys: release++ (v2.24-rc2) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit bfa3004ece1c9b4cf413f8dc6f0f835b9b3e569c Author: Karel Zak Date: Fri Oct 11 13:10:34 2013 +0200 docs: update v2.24-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.24-ReleaseNotes | 90 ++++++++++++++++++++++++++++++- 1 file changed, 89 insertions(+), 1 deletion(-) commit 6daa6b797456369770e02cce1f2de33b748675a7 Author: Karel Zak Date: Fri Oct 11 13:03:13 2013 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 8892b2f901038dd0cd82083f3e87662c4877ac31 Author: Karel Zak Date: Fri Oct 11 13:00:44 2013 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 1648 ++++++++++--------- po/cs.po | 3413 +++++++++++++++++++++++++--------------- po/da.po | 1658 +++++++++++--------- po/de.po | 1668 +++++++++++--------- po/es.po | 1654 ++++++++++--------- po/et.po | 1626 ++++++++++--------- po/eu.po | 1623 ++++++++++--------- po/fi.po | 1650 ++++++++++--------- po/fr.po | 4530 ++++++++++++++++++++++++++++++++++------------------- po/gl.po | 1624 ++++++++++--------- po/hr.po | 1641 ++++++++++--------- po/hu.po | 1656 +++++++++++--------- po/id.po | 1664 +++++++++++--------- po/it.po | 1628 ++++++++++--------- po/ja.po | 1652 ++++++++++--------- po/nl.po | 3413 +++++++++++++++++++++++++--------------- po/pl.po | 3251 +++++++++++++++++++++++--------------- po/pt_BR.po | 3339 ++++++++++++++++++++++++--------------- po/ru.po | 1653 ++++++++++--------- po/sl.po | 1655 ++++++++++--------- po/sv.po | 1659 +++++++++++--------- po/tr.po | 1650 ++++++++++--------- po/uk.po | 3797 ++++++++++++++++++++++++++++---------------- po/util-linux.pot | 1522 +++++++++--------- po/vi.po | 1674 ++++++++++---------- po/zh_CN.po | 2187 +++++++++++++++----------- po/zh_TW.po | 1636 ++++++++++--------- 27 files changed, 32343 insertions(+), 24428 deletions(-) commit 2ec8187eed4c3736a34eb45d670eb491474a805d Author: Karel Zak Date: Fri Oct 11 12:53:56 2013 +0200 cal: fix gettext warning /usr/bin/xgettext: Non-ASCII comment at or before misc-utils/cal.c:473. Please specify the source encoding through --from-code. Signed-off-by: Karel Zak misc-utils/cal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0075d97728892d0f1b0245a8b60ea3d45c8edb24 Author: Wylmer Wang Date: Fri Oct 11 12:40:31 2013 +0200 po: update zh_CN.po (from translationproject.org) po/zh_CN.po | 2100 ++++++++++++++++++++++++----------------------------------- 1 file changed, 854 insertions(+), 1246 deletions(-) commit 6e3098618c07fc7e7f543e04843aa2857f8497cb Author: Yuri Chornoivan Date: Fri Oct 11 12:40:31 2013 +0200 po: update uk.po (from translationproject.org) po/uk.po | 3666 ++++++++++++++++++++++---------------------------------------- 1 file changed, 1287 insertions(+), 2379 deletions(-) commit 4f93f289f84ac023cdd14072acbbac3296a285d2 Author: Rafael Ferreira Date: Fri Oct 11 12:40:31 2013 +0200 po: update pt_BR.po (from translationproject.org) po/pt_BR.po | 12916 +++++++++++++++++++++++++++------------------------------- 1 file changed, 5991 insertions(+), 6925 deletions(-) commit 706af388eaef488084fa0a789914cc6b97459c61 Author: Jakub Bogusz Date: Fri Oct 11 12:40:31 2013 +0200 po: update pl.po (from translationproject.org) po/pl.po | 3752 +++++++++++++++++++------------------------------------------- 1 file changed, 1131 insertions(+), 2621 deletions(-) commit e3eca8e205bddde7856d52c3c4d4044b48a10dac Author: Benno Schulenberg Date: Fri Oct 11 12:40:31 2013 +0200 po: update nl.po (from translationproject.org) po/nl.po | 2950 ++++++++++++++++++++++---------------------------------------- 1 file changed, 1052 insertions(+), 1898 deletions(-) commit a5df3f25842d5414ca97df14efd31a52f8ebb151 Author: David Prévot Date: Fri Oct 11 12:40:31 2013 +0200 po: update fr.po (from translationproject.org) po/fr.po | 4395 +++++++++++++++++++++----------------------------------------- 1 file changed, 1501 insertions(+), 2894 deletions(-) commit b79a55ee70be52260bd05f3a9e35078dc70a26ce Author: Petr Písař Date: Fri Oct 11 12:40:31 2013 +0200 po: update cs.po (from translationproject.org) po/cs.po | 3373 +++++++++++++++++++++++--------------------------------------- 1 file changed, 1235 insertions(+), 2138 deletions(-) commit 1572fb3e005df660177e681a21084fa418c73865 Author: Karel Zak Date: Fri Oct 11 11:50:10 2013 +0200 libfdisk: mark label modified for PMBR mismatch Signed-off-by: Karel Zak libfdisk/src/gpt.c | 1 + 1 file changed, 1 insertion(+) commit 59db52ad473cccc7c0005d99d03c9dd0d41d7797 Author: Karel Zak Date: Fri Oct 11 11:38:29 2013 +0200 libfdisk: treat size mismatch as a warning, not an error Based on kernel patch from Doug Anderson . Signed-off-by: Karel Zak libfdisk/src/gpt.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 7ab32ae64d05f018c171ba1525bc337805d84391 Author: Karel Zak Date: Fri Oct 11 11:16:23 2013 +0200 blockdev: add note about --setbsz usability Signed-off-by: Karel Zak disk-utils/blockdev.8 | 4 +++- disk-utils/blockdev.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) commit 39d2e7067d7c61e579079a72bbd80e3bce31cfc3 Author: Karel Zak Date: Fri Oct 11 11:05:45 2013 +0200 Revert "blockdev: Remove the --setbsz (set blocksize) option which has never worked." This reverts commit b1555acc2f709ac4f3b1e6c686a11cadb7b04f72. It seems that the option is used by kernel guys to test kernel, so let's keep the option in the blockdev(8) although it's almost useless in userspace. All we need is to improve docs to make things more obvious to end users. Signed-off-by: Karel Zak bash-completion/blockdev | 7 ++++++- disk-utils/blockdev.8 | 2 ++ disk-utils/blockdev.c | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) commit d4f0f1ccadb9db42fd421ebed53a578c542236a0 Author: Karel Zak Date: Fri Oct 11 10:51:59 2013 +0200 libmount: fix mnt_context_is_child() comment Signed-off-by: Karel Zak libmount/src/context.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 94c7fa6ee796270910ad30ec2f2cd831d435802f Author: Namhyung Kim Date: Thu Oct 10 00:17:08 2013 +0900 libmount: Fix typo in comment s/MNT_OMASK_/MNT_OMODE_/ Signed-off-by: Namhyung Kim libmount/src/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 233ad1fa9b5f9aafaa5a678c6591cee16b296881 Author: Pádraig Brady Date: Wed Oct 9 20:44:12 2013 +0200 cal: improve the help text and man page * misc-utils/cal.c: Add a little doc string, and mention that the current month is implicit if not specified. Also remove mention of "current" from two option descriptions as a specific date may have been specified. * misc-utils/cal.1: Likewise. [kzak@redhat.com: - use fputs and USAGE_SEPARATOR] Signed-off-by: Benno Schulenberg Signed-off-by: Pádraig Brady Signed-off-by: Karel Zak misc-utils/cal.1 | 4 ++-- misc-utils/cal.c | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) commit 565b7da63e87211ef78a7b4e67dcc66119813640 Author: Karel Zak Date: Wed Oct 9 16:02:42 2013 +0200 fdisk: add -t to enable only specified type In some cases (for example hybrid GPT) it's useful to force fdisk to read only specified disk label and ignore everything else. For example: # fdisk -l /dev/sda Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 3549290F-417C-4941-8503-F7835109B821 Device Start End Size Type /dev/sda1 2048 2050047 1000M EFI System /dev/sda2 2050048 6146047 2G Microsoft basic data /dev/sda3 6146048 26462207 9.7G Linux swap /dev/sda4 26462208 98142207 34.2G Microsoft basic data /dev/sda5 98142208 230662143 63.2G Microsoft basic data /dev/sda6 230662144 312580095 39.1G Microsoft basic data but when GPT is disabled we can access PMBR: # fdisk -l -t dos /dev/sda Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 1 312581807 156290903+ ee GPT Reported-by: Craig Signed-off-by: Karel Zak fdisks/fdisk.8 | 5 +++++ fdisks/fdisk.c | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) commit 7a188aedbf4468e9753200716ec845a00dd8b30e Author: Karel Zak Date: Wed Oct 9 16:02:33 2013 +0200 libfdisk: add API to disable specified label Signed-off-by: Karel Zak libfdisk/src/context.c | 29 ++++++++++++++++++++++++++++- libfdisk/src/fdiskP.h | 3 ++- libfdisk/src/label.c | 23 +++++++++++++++++++++-- libfdisk/src/libfdisk.h | 4 ++++ 4 files changed, 55 insertions(+), 4 deletions(-) commit 38aa2fa9466271feab9c83568e8dfc609ff31984 Author: Rafael Ferreira Date: Wed Oct 9 07:16:09 2013 -0300 cytune: fix glush typo in cytune Signed-off-by: Rafael Ferreira sys-utils/cytune.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c47f25e8de3d4900b826d7ebf45526b7b4b81ad Author: Benno Schulenberg Date: Tue Oct 8 17:29:20 2013 +0200 losetup: cut the remaining little block of help text into slices too Signed-off-by: Benno Schulenberg sys-utils/losetup.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit d6060cd3ae99e737393fa880b209528005a50099 Author: Benno Schulenberg Date: Tue Oct 8 17:18:18 2013 +0200 libfdisk: (gpt) use consistent final period in status messages Signed-off-by: Benno Schulenberg libfdisk/src/gpt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 98aeae96115b8113d31349b67fa8e63da43d2a3e Author: Benno Schulenberg Date: Tue Oct 8 17:14:38 2013 +0200 libfdisk: (dos) improve the grammar of an error message Signed-off-by: Benno Schulenberg libfdisk/src/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0862e2695d691abd1163875b07507e1291c2566 Author: Benno Schulenberg Date: Tue Oct 8 17:11:01 2013 +0200 libfdisk: (dos) correct the grammar of the disk-identifier prompt Signed-off-by: Benno Schulenberg libfdisk/src/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 47481cbd01819a6f387f6a2537f8ff1e4449deb0 Author: Benno Schulenberg Date: Tue Oct 8 17:04:22 2013 +0200 textual: standardize some "cannot read" and "seek failed" error messages Signed-off-by: Benno Schulenberg disk-utils/fsck.c | 2 +- disk-utils/fsck.cramfs.c | 14 +++++++------- lib/path.c | 8 ++++---- login-utils/last.c | 8 ++++---- login-utils/sulogin.c | 2 +- sys-utils/setpriv.c | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) commit d414f5d4215c462ceb1d010c61a98c54a65186d1 Author: Karel Zak Date: Tue Oct 8 17:00:44 2013 +0200 tests: use 'btrfs' rather than 'btrfsctl' Signed-off-by: Karel Zak tests/ts/libmount/context-utab | 4 ++-- tests/ts/libmount/context-utab-py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 4200ebd60561433459546a9dedfcd07b4d97dfcb Author: Karel Zak Date: Tue Oct 8 16:37:13 2013 +0200 tests: update fdisk outputs Signed-off-by: Karel Zak tests/expected/blkid/md-raid0-whole | 2 +- tests/expected/blkid/md-raid1-part | 2 +- tests/expected/blkid/md-raid1-whole | 2 +- tests/expected/fdisk/align-512-4K | 2 +- tests/expected/fdisk/align-512-4K-63 | 2 +- tests/expected/fdisk/align-512-4K-md | 4 ++-- tests/expected/fdisk/align-512-512 | 2 +- tests/expected/fdisk/align-512-512-topology | 2 +- tests/expected/fdisk/bsd | 20 ++++++++++---------- tests/expected/fdisk/gpt | 10 +++++----- tests/expected/fdisk/mbr-dos-mode | 22 +++++++++++----------- tests/expected/fdisk/mbr-nondos-mode | 24 ++++++++++++------------ tests/expected/fdisk/sunlabel | 12 ++++++------ 13 files changed, 53 insertions(+), 53 deletions(-) commit b1555acc2f709ac4f3b1e6c686a11cadb7b04f72 Author: Richard W.M. Jones Date: Tue Oct 8 09:54:10 2013 +0100 blockdev: Remove the --setbsz (set blocksize) option which has never worked. This option has never worked. If you try setting the block size on a block device, and then read it using --getbsz, you will see that the block size never changes. The reason for this is because the block size is specific to the current file descriptor opening the block device, so the change of block size only persists for as long as blockdev has the device open, and is lost once blockdev exits. Also the block size is not really used anywhere. Filesystems, for example, have their own idea of block size and ignore this setting completely. (Thanks Masayoshi Mizuma for diagnosing the problem) Signed-off-by: Richard W.M. Jones bash-completion/blockdev | 7 +------ disk-utils/blockdev.8 | 2 -- disk-utils/blockdev.c | 7 ------- 3 files changed, 1 insertion(+), 15 deletions(-) commit 5d324c6b94876e067876b2c924796e543a0f654e Author: Sami Kerola Date: Mon Oct 7 23:04:23 2013 +0100 various: fix mixing declarations and code compiler warnings [smatch] Signed-off-by: Sami Kerola libfdisk/src/dos.c | 6 +++--- libmount/python/pylibmount.c | 3 ++- libmount/python/tab.c | 3 ++- term-utils/mesg.c | 10 +++++----- 4 files changed, 12 insertions(+), 10 deletions(-) commit 55fb046138ab563c2e03403c270960c06daa921b Author: Benno Schulenberg Date: Sat Oct 5 18:08:59 2013 +0200 docs: improve grammar and wording of the release-schedule text Signed-off-by: Benno Schulenberg Documentation/release-schedule.txt | 45 +++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 22 deletions(-) commit e9c58f6d55840fddec434151bb49d4909a86e69f Author: Benno Schulenberg Date: Sat Oct 5 18:00:24 2013 +0200 COPYING: fix grammar of referring phrase, and indicate location better Signed-off-by: Benno Schulenberg README.licensing | 2 +- libblkid/COPYING | 4 ++-- libfdisk/COPYING | 4 ++-- libmount/COPYING | 4 ++-- libuuid/COPYING | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) commit 38ae77d74343ae04c8732c6a8c088ef49cc7f0cb Author: Benno Schulenberg Date: Fri Oct 4 21:22:53 2013 +0200 textual: make two messages somewhat easier to understand Signed-off-by: Benno Schulenberg term-utils/agetty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 119ed9bfcd8c241bbc837e7dfe0f827b3928956c Author: Benno Schulenberg Date: Thu Oct 3 23:03:28 2013 +0200 textual: tag a translator comment and put it in proper place Signed-off-by: Benno Schulenberg misc-utils/cal.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit aaa438263655c66d958c0203820176215920de7e Author: Benno Schulenberg Date: Thu Oct 3 21:57:03 2013 +0200 textual: use consistent wording and punctuation in fdisk stuff Signed-off-by: Benno Schulenberg fdisks/fdisk-menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fd56121ac3172de22c3b2fc0481ba21483ee7373 Author: Benno Schulenberg Date: Thu Oct 3 21:40:04 2013 +0200 textual: change spelling of "disk label" to the more abundant "disklabel" Signed-off-by: Benno Schulenberg fdisks/fdisk-menu.c | 6 +++--- fdisks/fdisk.c | 2 +- libfdisk/src/bsd.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) commit cfa5f791bf3e612c5bcd843f771f49e374efe778 Author: Benno Schulenberg Date: Thu Oct 3 21:34:54 2013 +0200 textual: use the standard angular brackets for non-literal arguments Signed-off-by: Benno Schulenberg fdisks/cfdisk.c | 2 +- text-utils/hexsyntax.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 8e7f944d95a36eec93b6475a5579e684eb684ce1 Author: Karel Zak Date: Tue Oct 8 15:28:53 2013 +0200 libfdisk: (gpt) fix warning Signed-off-by: Karel Zak libfdisk/src/gpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4ae11fe825bfa9372b4944c2e8fd954029db65f6 Author: Benno Schulenberg Date: Sun Oct 6 11:49:54 2013 +0200 libfdisk/gpt: partly pluralize one message And don't mention the largest when there is only one segment. Signed-off-by: Benno Schulenberg libfdisk/src/gpt.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit ce0e6110b65cfb8047b586737173abd1d3443aad Author: Benno Schulenberg Date: Sat Oct 5 23:19:55 2013 +0200 wdctl: pluralize one thrice-repeated message Also put in one hard space, to keep text and number separated when the translated string should be too long. Signed-off-by: Benno Schulenberg sys-utils/wdctl.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 5b831eb19959c798412eb165915289ac237ba7d3 Author: Benno Schulenberg Date: Sat Oct 5 23:12:23 2013 +0200 wdctl: gettextize and pluralize one forgotten message Signed-off-by: Benno Schulenberg sys-utils/wdctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit dbfff47322524672949597bb3d3c9fee9ee3cf84 Author: Benno Schulenberg Date: Sat Oct 5 12:01:32 2013 +0200 partx: correct three messages Properly describing the partition type, using a verb instead of a noun, putting the blank line after the command options, and using the correct argument for --output. Signed-off-by: Benno Schulenberg disk-utils/partx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0df61beaedaaa4a962fd344cbd5975878e7da918 Author: Benno Schulenberg Date: Sat Oct 5 11:37:48 2013 +0200 partx: pluralize one message Reported-by: Petr Písař Signed-off-by: Benno Schulenberg disk-utils/partx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 72065bc667149e5661dab0a046777dca1a118e23 Author: Benno Schulenberg Date: Sat Oct 5 11:22:53 2013 +0200 libfdisk/sgi: tweak and harmonize some message strings Using consistent capitals and lowercase, adding missing periods and a missing space, repositioning commas for clarity, improving grammar, and aligning substrings for esthetics. Signed-off-by: Benno Schulenberg libfdisk/src/sgi.c | 51 +++++++++++++++++++++++++-------------------------- 1 file changed, 25 insertions(+), 26 deletions(-) commit 8a38f32ad03139161e4e1f493198dec281f81ce1 Author: Benno Schulenberg Date: Sat Oct 5 11:01:28 2013 +0200 libfdisk/sgi: tweak and harmonize some comments Signed-off-by: Benno Schulenberg libfdisk/src/sgi.c | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) commit c0b289aa115421702a68da0b9ae84b1d63e9d48a Author: Benno Schulenberg Date: Sat Oct 5 10:43:40 2013 +0200 libfdisk/sgi: properly pluralize three messages Reported-by: Petr Písař Signed-off-by: Benno Schulenberg libfdisk/src/sgi.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit c2fcffd5adb52cba8fa0ac96f636bf2a25167142 Author: Benno Schulenberg Date: Fri Oct 4 22:44:28 2013 +0200 mkfs.minix: properly pluralize four messages Reported-by: Petr Písař Signed-off-by: Benno Schulenberg disk-utils/mkfs.minix.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) commit 1619e3e7411c3efedbd4232b8d2a2bcf547ffa9e Author: Benno Schulenberg Date: Fri Oct 4 22:32:56 2013 +0200 wipefs: pluralize one message Reported-by: Petr Písař Signed-off-by: Benno Schulenberg misc-utils/wipefs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 1ebc015ee5b5a59168b4643dd728d1f989e6ef04 Author: Benno Schulenberg Date: Fri Oct 4 22:27:51 2013 +0200 su-common: pluralize one message Reported-by: Petr Písař Signed-off-by: Benno Schulenberg login-utils/su-common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 5ea74a307fe01b08b0d1eb85b8a46c475821f299 Author: Benno Schulenberg Date: Fri Oct 4 22:15:15 2013 +0200 mcookie: pluralize two messages Reported-by: Petr Písař Signed-off-by: Benno Schulenberg misc-utils/mcookie.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 4df288452e537cb6618eef047ea315c446bbdd3c Author: Benno Schulenberg Date: Fri Oct 4 22:03:58 2013 +0200 textual: properly use uppercase in certain abbreviations Reported-by: Petr Písař Signed-off-by: Benno Schulenberg sys-utils/dmesg.c | 2 +- sys-utils/lscpu.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 98063fc7befba7648bff56d06b07e7ddd28f3d0c Author: Benno Schulenberg Date: Fri Oct 4 21:59:02 2013 +0200 hexsyntax: in help text, wrap argument of option -e in angular brackets Reported-by: Petr Písař Signed-off-by: Benno Schulenberg text-utils/hexsyntax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 798f4853ae48369377f642518471b53ddf05a4d2 Author: Benno Schulenberg Date: Fri Oct 4 21:50:05 2013 +0200 textual: end both the singular and the plural message with a period Signed-off-by: Benno Schulenberg libfdisk/src/gpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00963eac1cf566999cf79226be28e99415ffd411 Author: Karel Zak Date: Mon Oct 7 14:42:09 2013 +0200 libmount: (docs) make it obvious how we call mount. helpers Signed-off-by: Karel Zak sys-utils/mount.8 | 22 +++++++++++++++++++++- sys-utils/umount.8 | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) commit ccf92e6db7c22cbde2d2c12cc7328d67e9bacdf3 Author: Karel Zak Date: Fri Oct 4 13:28:37 2013 +0200 build-sys: use tinfo *or* ncurses for more(1), ul(1) and setterm(1) * it seems that we don't have to link the utils with ncurses, tinfo is enough. This change saves one unnecessary dependence. * libtinfo is also distributed with pkg-config files, so we can use PKG_CHECK_MODULES() as a primary source for LIBS and CFLAGS. * add TINFO_CFLAGS (although it's probably always empty) Signed-off-by: Karel Zak configure.ac | 13 +++++++++---- term-utils/Makemodule.am | 11 +++++++++-- text-utils/Makemodule.am | 25 ++++++++++++++++++++----- 3 files changed, 38 insertions(+), 11 deletions(-) commit 77274f8842642b0885e17c64eb50f3e75cff67b6 Author: Karel Zak Date: Fri Oct 4 12:07:12 2013 +0200 libfdisk: cleanup warning messages Signed-off-by: Karel Zak libfdisk/src/bsd.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 4b53739cf0aeade2772445da8d356e840ab9424c Author: Benno Schulenberg Date: Thu Oct 3 13:05:43 2013 +0200 docs: tweak the grammar of an agetty man-page fragment Signed-off-by: Benno Schulenberg term-utils/agetty.8 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 88f91eb4d0f4cb0af68cefa8496a2b2ad107c36f Author: Benno Schulenberg Date: Thu Oct 3 12:41:00 2013 +0200 libfdisk: improve spelling of two comments Signed-off-by: Benno Schulenberg libfdisk/src/bsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3755d48b17d1fb06446580a874d41b0848ae0982 Author: Benno Schulenberg Date: Wed Sep 25 12:25:15 2013 +0200 agetty: use standard angular brackets in usage message Signed-off-by: Benno Schulenberg term-utils/agetty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 23e0d15ba4ea4368d72686e9a7001b399d68b358 Author: Michael Forney Date: Thu Oct 3 02:39:19 2013 -0700 build-sys: Fix check for __GNU_LIBRARY__ If we are not on glibc, __GNU_LIBRARY__ will not exist causing the check to always fail and try to use syscalls directly. Signed-off-by: Karel Zak term-utils/setterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b09bc5088bed5174f1ffa3d4a51cef1cdd37292f Author: Michael Forney Date: Thu Oct 3 02:39:18 2013 -0700 build-sys: Check for type sighandler_t and use if present __sighandler_t is libc implementation specific and should not be relied upon. Instead, we fall back upon void (*)(int), as specified by POSIX. Signed-off-by: Karel Zak configure.ac | 4 ++++ fdisks/cfdisk.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 00c505d9cfedc02752d64bd61cf83d293b061c8d Author: Michael Forney Date: Thu Oct 3 02:39:17 2013 -0700 include: Add missing includes sys/types.h: For u_char typedef sys/params.h: For MAXNAMLEN sys/ttydefaults.h: For various tty definitions (also add configure check) Signed-off-by: Karel Zak configure.ac | 1 + include/ttyutils.h | 3 +++ term-utils/ttymsg.c | 1 + text-utils/display.c | 1 + 4 files changed, 6 insertions(+) commit 695e4e1a9862a5d2bc28dd31aa4cfafd4fd0caa4 Author: Michael Forney Date: Thu Oct 3 02:36:05 2013 -0700 build-sys: Use _POSIX_VERSION to determine support for %m %m is included in POSIX 2008, so we can check if the libc implements that before failing. Signed-off-by: Karel Zak configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit f48145b500cc214746ae5dca997098ad22f41ead Author: Karel Zak Date: Thu Oct 3 16:20:38 2013 +0200 testsL fix py check Reported-by: Bruce Dubbs Signed-off-by: Karel Zak tests/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0e8edc9f9ef398e0b0d3104a44c75722b66e8f96 Author: Karel Zak Date: Wed Oct 2 14:43:17 2013 +0200 su: fix caught_signal logic and initialize oldact [coverity scan] Signed-off-by: Karel Zak login-utils/su-common.c | 5 +++++ 1 file changed, 5 insertions(+) commit a01b5b70779a06c646e303fffa1ff9b7a716c5c2 Author: Karel Zak Date: Wed Oct 2 14:20:59 2013 +0200 fdisk: fix possible memleak [coverity scan] Signed-off-by: Karel Zak libfdisk/src/gpt.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit dbbf8395867804f162f550c25b56d042ce90e442 Author: Karel Zak Date: Wed Oct 2 14:07:32 2013 +0200 lscpu: cleanup DMI code [coverity scan] Signed-off-by: Karel Zak sys-utils/lscpu-dmi.c | 77 +++++++++++++++++++++++++++------------------------ sys-utils/lscpu.c | 2 +- 2 files changed, 42 insertions(+), 37 deletions(-) commit 77de766a45a9af473090f83d32dd217bc7fc5238 Author: Karel Zak Date: Wed Oct 2 11:21:22 2013 +0200 docs: update TODO Signed-off-by: Karel Zak Documentation/TODO | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) commit 6d707c1d687370f51fd522e54071819d5162a35a Author: Karel Zak Date: Tue Oct 1 17:29:51 2013 +0200 lscpu: check strchr() result [coverity scan] Signed-off-by: Karel Zak sys-utils/lscpu-dmi.c | 2 ++ 1 file changed, 2 insertions(+) commit bbff0890581a283523d16eb83c09efcc6a5421e3 Author: Karel Zak Date: Tue Oct 1 17:26:33 2013 +0200 lscpu: don't pass null pointer to string functions [coverity scan] Signed-off-by: Karel Zak sys-utils/lscpu-dmi.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit c7616e4c6cedb7b6a59cf30ff29ca331ecd393a1 Author: Karel Zak Date: Tue Oct 1 17:23:26 2013 +0200 libmount: remove dead code [coverity scan] Signed-off-by: Karel Zak libmount/src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3b41176384f5e48515cf490b2aa3f9bb1fd7ae92 Author: Karel Zak Date: Tue Oct 1 17:21:12 2013 +0200 libblkid: use proper type in xfs log checker [coverity scan] Signed-off-by: Karel Zak libblkid/src/superblocks/xfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1d4d4b42e612081d7c1a066119361ff1184b3318 Author: Karel Zak Date: Tue Oct 1 17:18:54 2013 +0200 pylibmount: check for mnt_fs_get_tag() return value [coverity scan] Signed-off-by: Karel Zak libmount/python/fs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 21ca0315598f3537c8c2edd01ae7c39c343a6e73 Author: Karel Zak Date: Tue Oct 1 17:15:08 2013 +0200 pylibmount: make tab parsers more robust [coverity scan] Signed-off-by: Karel Zak libmount/python/context.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 85dd024d84e1f8ecd3adcaf203803c92f9126b3d Author: Karel Zak Date: Tue Oct 1 17:11:25 2013 +0200 utmpdump: make analyzers happy Signed-off-by: Karel Zak login-utils/utmpdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d879e0529cd35e2cc9db537e1cf9fb33a41b859a Author: Karel Zak Date: Tue Oct 1 16:59:43 2013 +0200 last: check fstat() return [coverity scan] Signed-off-by: Karel Zak login-utils/last.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a84ec176eca207eadcd2a47056ad44df082f1b02 Author: Karel Zak Date: Tue Oct 1 16:56:26 2013 +0200 libmount: make mnt_table_replace_file() more robust [coverity scan] Signed-off-by: Karel Zak libmount/src/tab_update.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 0525768a5be893d309917fbb527b1cf0589fdaa2 Author: Karel Zak Date: Tue Oct 1 16:07:50 2013 +0200 fsck: don't print warning if there is no /etc/fstab at all Reported-by: Thomas Bächler Signed-off-by: Karel Zak disk-utils/fsck.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit a7d5202b5e49b7e33336818e00d240b8badddbb7 Author: Karel Zak Date: Tue Oct 1 15:52:11 2013 +0200 losetup: don't require 512-byte aligned offsets Kernel aligns the device size, but the offset where the device starts is not required to be aligned. # losetup --offset 32 -f file.img is just fine, the final size of the look device will be (in sectors) (backing_file_size - offset) >> 9 so we have to do the same in userspace when we check for successful set capacity ioctl. Signed-off-by: Karel Zak lib/loopdev.c | 6 ++++++ sys-utils/losetup.c | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) commit c1d26ddbe7925522f61576ed672bd71689ae1237 Merge: ce3e6b1 0d0d12a Author: Karel Zak Date: Mon Sep 30 15:56:31 2013 +0200 Merge branch 'master' of https://github.com/yurchor/util-linux commit ce3e6b15e2c4478b2df9a7016c168b16325abfb0 Author: Karel Zak Date: Mon Sep 30 15:49:00 2013 +0200 bash-completion: use '\n' as IFS when ask for filenames The bash completion for more(1) treats the space-separated pieces of filenames as different files. $ touch foo\ bar $ more foo bar foo Reported-by: Ángel González Signed-off-by: Karel Zak bash-completion/blkid | 1 + bash-completion/colcrt | 1 + bash-completion/column | 1 + bash-completion/cytune | 1 + bash-completion/dmesg | 1 + bash-completion/fallocate | 1 + bash-completion/findmnt | 1 + bash-completion/flock | 1 + bash-completion/fsck.cramfs | 1 + bash-completion/hexdump | 1 + bash-completion/hwclock | 1 + bash-completion/ionice | 1 + bash-completion/last | 1 + bash-completion/ldattach | 1 + bash-completion/logger | 1 + bash-completion/look | 1 + bash-completion/losetup | 1 + bash-completion/lscpu | 1 + bash-completion/lslocks | 1 + bash-completion/mcookie | 1 + bash-completion/mkfs.cramfs | 1 + bash-completion/mkswap | 1 + bash-completion/more | 2 ++ bash-completion/mount | 1 + bash-completion/mountpoint | 1 + bash-completion/namei | 1 + bash-completion/nsenter | 1 + bash-completion/pg | 1 + bash-completion/pivot_root | 1 + bash-completion/readprofile | 1 + bash-completion/rename | 1 + bash-completion/rev | 1 + bash-completion/script | 1 + bash-completion/scriptreplay | 1 + bash-completion/setterm | 1 + bash-completion/sfdisk | 1 + bash-completion/su | 1 + bash-completion/swaplabel | 1 + bash-completion/tailf | 1 + bash-completion/tunelp | 1 + bash-completion/ul | 1 + bash-completion/utmpdump | 1 + bash-completion/uuidd | 3 +++ bash-completion/wall | 1 + bash-completion/wdctl | 1 + bash-completion/whereis | 1 + 46 files changed, 49 insertions(+) commit a1e276ae1560dca9e985ca63f05fccb555d3f0d8 Author: Karel Zak Date: Mon Sep 30 13:58:53 2013 +0200 textual: fix misspelled words in -rc1 Reported-by: Rafael Ferreira Signed-off-by: Karel Zak libfdisk/src/dos.c | 4 ++-- libfdisk/src/gpt.c | 6 ++++-- libfdisk/src/sgi.c | 8 ++++---- term-utils/agetty.c | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) commit 1dbaf5cc72a7af5a2ee4692366a74acb960203fe Author: Namhyung Kim Date: Sun Sep 29 19:11:37 2013 +0900 libmount: Save errno if mkostemp() failed After mkostemp() failed, umask() and free() might alter the errno to another value. Not sure those calls really changes the errno or not. But let's be more conservative. Signed-off-by: Namhyung Kim libmount/src/utils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0b567ae5507f8e990452024ffe561457203b627b Author: Sami Kerola Date: Sun Sep 29 10:51:13 2013 +0100 build-sys: simplify python detection This allows './configure --enable-most-builds' and 'make distcheck' to work when both python2 and python3 are installed, and user has set python version preference using symlink and PATH order. Signed-off-by: Sami Kerola configure.ac | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit 2b8f22bd90f8074c714afaa872c314287e54a9a6 Author: Mike Frysinger Date: Sun Sep 29 00:44:43 2013 -0400 clean up term lib handling The ncurses package has been providing pkg-config files for a while now. So let's start using them to get the proper linker & compiler flags. It can make a difference when ncurses is configured in a way that requires extra link time flags but util-linux doesn't provide them, or when the headers live in a weird place and util-linux can't find them. Since the NCURSES_LIBS is always defined for the Makefile, there's no need to gate on the HAVE_NCURSES conditional. When it's disabled, the var will simply be empty. With a minor tweak to how tinfo is handled, we can do the same thing -- we just always use TINFO_LIBS in the Makefile's. Signed-off-by: Mike Frysinger configure.ac | 53 ++++++++++++++++++++++++++++++++++++------------ fdisks/Makemodule.am | 7 +++---- misc-utils/Makemodule.am | 12 ++--------- term-utils/Makemodule.am | 7 ++----- text-utils/Makemodule.am | 27 +++++++----------------- 5 files changed, 54 insertions(+), 52 deletions(-) commit bfc4331b14ba15883951deac3f650461c6322714 Author: Mike Frysinger Date: Sun Sep 29 00:44:36 2013 -0400 setterm: fix term.h/ncurses.h include ordering The ncurses term.h header has logic in it to detect if nucrses.h has already been included and void defining things when it has. But since setterm includes term.h and the ncurses.h, it doesn't work and we can get fun build-time warnings like: CC term-utils/setterm-setterm.o In file included from term-utils/setterm.c:109:0: /usr/include/ncursesw/ncurses.h:827:12: warning: redundant redeclaration of 'tigetflag' [-Wredundant-decls] extern NCURSES_EXPORT(int) tigetflag (NCURSES_CONST char *); /* implemented */ ^ In file included from term-utils/setterm.c:106:0: /usr/include/ncursesw/term.h:775:12: note: previous declaration of 'tigetflag' was here extern NCURSES_EXPORT(int) tigetflag (NCURSES_CONST char *); ^ Signed-off-by: Mike Frysinger term-utils/setterm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 203c945a15378ed63c9f9219a3c9c56ce238031d Author: Dave Reisner Date: Sat Sep 28 18:22:43 2013 -0400 findmnt: always allocate memory for cell value Since b3386c83fe77, findmnt's output uses TT_FL_FREEDATA, which causes a crash here when string literal is returned instead of a heap address. Signed-off-by: Dave Reisner misc-utils/findmnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88407b93212275759e8a54f5d43f4cf7da67fcdf Author: Karel Zak Date: Mon Sep 30 13:36:26 2013 +0200 nologin: add new command Currently it's maintained as distro specific (or people use impolite /bin/false way). Signed-off-by: Karel Zak .gitignore | 1 + Documentation/releases/v2.24-ReleaseNotes | 4 ++ configure.ac | 8 ++++ include/pathnames.h | 2 + login-utils/Makemodule.am | 7 +++ login-utils/nologin.8 | 53 ++++++++++++++++++++++ login-utils/nologin.c | 75 +++++++++++++++++++++++++++++++ 7 files changed, 150 insertions(+) commit 0d0d12adf8595b18447657b3f4c430cde8f39677 Author: Yuri Chornoivan Date: Sat Sep 28 13:33:59 2013 +0300 Fix various typos fdisks/fdisk.8 | 4 ++-- libfdisk/src/dos.c | 6 +++--- libfdisk/src/gpt.c | 2 +- sys-utils/losetup.8 | 2 +- sys-utils/losetup.c | 2 +- term-utils/agetty.c | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-)