Changes between v2.31 and v2.31.1 --------------------------------- commit 960b779cfb47e93b50b0a1e3015e39b7cb15cae2 Author: Karel Zak Date: Tue Dec 19 15:06:27 2017 +0100 build-sys: release++ (v2.31.1) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit babcf965f59494d4037eeb29d506344a7e3fd128 Author: Karel Zak Date: Tue Dec 19 15:04:56 2017 +0100 docs: update v2.31.1-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.31.1-ReleaseNotes | 87 +++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) commit d4e747c29f72676cec36d7e87f866ea1d2c11d45 Author: Karel Zak Date: Tue Dec 19 15:02:40 2017 +0100 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 6 ++++++ 1 file changed, 6 insertions(+) commit fbf9a18675d3df970c4212834f1a9ce5011577d0 Author: Karel Zak Date: Tue Dec 19 15:01:31 2017 +0100 po: merge changes Signed-off-by: Karel Zak po/ca.po | 706 ++++++++++---------- po/cs.po | 1040 +++++++++++++++--------------- po/da.po | 708 ++++++++++---------- po/de.po | 708 ++++++++++---------- po/es.po | 708 ++++++++++---------- po/et.po | 708 ++++++++++---------- po/eu.po | 706 ++++++++++---------- po/fi.po | 706 ++++++++++---------- po/fr.po | 708 ++++++++++---------- po/gl.po | 706 ++++++++++---------- po/hr.po | 706 ++++++++++---------- po/hu.po | 706 ++++++++++---------- po/id.po | 706 ++++++++++---------- po/it.po | 706 ++++++++++---------- po/ja.po | 1860 +++++++++++++++-------------------------------------- po/nl.po | 708 ++++++++++---------- po/pl.po | 1040 +++++++++++++++--------------- po/pt_BR.po | 708 ++++++++++---------- po/ru.po | 706 ++++++++++---------- po/sl.po | 706 ++++++++++---------- po/sv.po | 708 ++++++++++---------- po/tr.po | 708 ++++++++++---------- po/uk.po | 708 ++++++++++---------- po/util-linux.pot | 701 ++++++++++---------- po/vi.po | 709 ++++++++++---------- po/zh_CN.po | 708 ++++++++++---------- po/zh_TW.po | 709 ++++++++++---------- 27 files changed, 10108 insertions(+), 10799 deletions(-) commit 1db76aff7bc2ede1cdede027e2056d3002632f4a Author: Jakub Bogusz Date: Tue Dec 19 14:40:08 2017 +0100 po: update pl.po (from translationproject.org) po/pl.po | 350 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 176 insertions(+), 174 deletions(-) commit b36e1faf2e3b471e8974f9018d7abb6801d32292 Author: Takeshi Hamasaki Date: Tue Dec 19 14:40:08 2017 +0100 po: update ja.po (from translationproject.org) po/ja.po | 1408 ++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 1106 insertions(+), 302 deletions(-) commit 129f09b521e079ec1a9f79422b537f7e379b700f Author: Petr Písař Date: Tue Dec 19 14:40:08 2017 +0100 po: update cs.po (from translationproject.org) po/cs.po | 1099 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 474 insertions(+), 625 deletions(-) commit 58688816c4dfc0b522f3fbf551b82af7900ddab9 Author: Karel Zak Date: Tue Dec 19 13:46:35 2017 +0100 tests: don't use mount. helpers in mount-by-pattern tests The test behavior is fragile if depends on external helpers. Let's keep it based on mount(2) only. The test will be faster too. Note that "mount -t " does not behaviour as expected with helpers. We need to try another helper if the current one ends with status=1 (waitpid()). Now it returns status from the first helper. Reported-by: Ruediger Meier Signed-off-by: Karel Zak tests/ts/mount/fslists | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 928ff98abb255c3cee93a40c79587a835f2c0cf1 Author: Masatake YAMATO Date: Tue Dec 12 16:16:45 2017 +0900 fincore: fix a typo in fincore.1 Signed-off-by: Masatake YAMATO misc-utils/fincore.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0984d07c25c3f46a12b0bacae8c9ca3328784286 Author: Karel Zak Date: Wed Dec 13 12:57:22 2017 +0100 tests: update libsmartcols/title Signed-off-by: Karel Zak tests/expected/libsmartcols/title | 4 ++++ 1 file changed, 4 insertions(+) commit 1b4613f7571b93347c83019ff4befc3bafce7173 Author: Karel Zak Date: Tue Dec 12 13:19:36 2017 +0100 libsmartcols: don't add blank padding after left aligned title Let's use the same semantic for the title as for the last column in the table. If aligned on left, table is not "maxout" and title padding symbol is undefined (or blank) then keep title as short as possible. Addresses: https://github.com/karelzak/util-linux/issues/549 Signed-off-by: Karel Zak libsmartcols/src/table_print.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 2772bb4143320e44e7a6efbd16602205db849c2e Author: Karel Zak Date: Tue Dec 12 13:16:54 2017 +0100 sample-scols-title: add left title without padding Signed-off-by: Karel Zak libsmartcols/samples/title.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 0808127d5d239b7eb719b078b7aacf203d5f6a11 Author: Karel Zak Date: Tue Dec 12 12:09:13 2017 +0100 mcookie: properly initialize hash This stupid mistake has been introduced by commit 46ae163a8e5dc8457f8e2828eb53db8e610af275. Signed-off-by: Karel Zak misc-utils/mcookie.c | 1 + 1 file changed, 1 insertion(+) commit 09a69dfc7720d5e0b7a646978a00a7c7a4411c37 Author: Karel Zak Date: Tue Dec 12 11:54:08 2017 +0100 lib/md5: use ul_/UL_ prefix The symbols names are too generic. Addresses: https://github.com/karelzak/util-linux/issues/548 Signed-off-by: Karel Zak disk-utils/mkfs.cramfs.c | 13 +++++++------ include/md5.h | 25 ++++++++++--------------- lib/md5.c | 26 +++++++++++++------------- libblkid/src/superblocks/hfs.c | 16 +++++++++------- libuuid/src/gen_uuid.c | 12 ++++++------ misc-utils/mcookie.c | 14 +++++++------- tests/helpers/test_md5.c | 12 ++++++------ 7 files changed, 58 insertions(+), 60 deletions(-) commit 549454b8f935769a9212b82ef8fc1d51b995139e Author: Karel Zak Date: Tue Dec 12 11:38:17 2017 +0100 test_sha1: update helper Signed-off-by: Karel Zak tests/helpers/test_sha1.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ff5feb96ec70e8a3fde41bd591b28c9855dab3fc Author: Karel Zak Date: Tue Dec 12 11:29:02 2017 +0100 lib/sha1: use ul_/UL_prefix for symbols Unfortunately, the symbols are visible in statically compiled libuuid and the names are too generic. Addresses: https://github.com/karelzak/util-linux/issues/548 Signed-off-by: Karel Zak include/sha1.h | 49 +++++++++++++++---------------------------------- lib/sha1.c | 34 +++++++++++++++++----------------- libuuid/src/gen_uuid.c | 12 ++++++------ 3 files changed, 38 insertions(+), 57 deletions(-) commit 4b00335873946c2ce9867591953dfe3353e3351f Author: Sami Kerola Date: Sun Dec 10 10:50:32 2017 +0000 docs: improve setarch(8) manual page Add more information when and why one might want to use various options. Reviewed-by: Dmitry V. Levin Signed-off-by: Sami Kerola sys-utils/setarch.8 | 57 ++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 11 deletions(-) commit 3f921ba8cbeb55ea5689989761278e032375cecd Author: Sami Kerola Date: Sun Dec 3 12:51:14 2017 +0000 vipw: do not let editor to inherit open file descriptors Signed-off-by: Sami Kerola login-utils/vipw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b95c50f3aa30a17423f0cce695ec4304c3f193ae Author: Sami Kerola Date: Sun Nov 26 17:27:21 2017 +0000 man: use long options in text and add example to uuidgen Signed-off-by: Sami Kerola misc-utils/uuidgen.1 | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 1788df44ed747804add8011958d722a87f35bc81 Author: Sami Kerola Date: Sun Nov 26 17:27:20 2017 +0000 misc: fix typos Signed-off-by: Sami Kerola libfdisk/src/context.c | 2 +- libsmartcols/src/line.c | 2 +- login-utils/su-common.c | 2 +- misc-utils/wipefs.8 | 2 +- text-utils/column.1 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit b3fd1d6c697f390182e446481c915c070d2f3f9b Author: Karel Zak Date: Tue Nov 28 10:53:35 2017 +0100 nsenter: fix compiler warning [-Wuninitialized] sys-utils/nsenter.c: In function ‘is_same_namespace’: sys-utils/nsenter.c:170:2: warning: ‘b_ino’ may be used uninitialized in this function [-Wuninitialized] sys-utils/nsenter.c:170:2: warning: ‘a_ino’ may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Karel Zak sys-utils/nsenter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9feec6c2a0229ddae3c5f90ee9f790208c100a2c Author: Karel Zak Date: Mon Nov 27 12:37:53 2017 +0100 rtcwake: fix sys vs. rtc time delta usage srett commented: After some head scratching why relative wakeup using -s always works while -t didn't seem to work at all I discovered that the adjustment for time difference between sys and rtc is actually inverted when writing the alarm (code for -m show reading is fine), so if the RTC lags 10 minutes behind, the alarm will be shifted into the future by 10 minutes, resulting in a wakeup that is 20 minutes late. Addresses: https://github.com/karelzak/util-linux/issues/544 Signed-off-by: Karel Zak sys-utils/rtcwake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 32337d96b1fda2d8bfff753277f45a1ba0ee118c Author: Karel Zak Date: Thu Nov 23 10:30:27 2017 +0100 hwclock: revert ioctl test This commit reverts 1d5cffa16a0183175684809cf215294ec20b8fd9. (I did this revert manually as there was another changes in the code and git-revert does not work in this case.) Addresses: https://github.com/karelzak/util-linux/issues/543 Signed-off-by: Karel Zak sys-utils/hwclock-rtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0d732c23583761467c9d33b326d72bcefbb98b4a Author: Karel Zak Date: Wed Nov 22 17:16:21 2017 +0100 tests: update columns test due to dda229c7b2b16a31fae8e99079ab4f4ae5bc8eac Signed-off-by: Karel Zak tests/expected/column/invalid-multibyte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d0a32b2ea5b108c841653a8c6a3fd5e031d8dc2 Author: Karel Zak Date: Wed Nov 22 14:43:36 2017 +0100 column: use \x for invalid multibyte seq. Addresses: https://github.com/karelzak/util-linux/issues/542 Signed-off-by: Karel Zak text-utils/column.1 | 2 +- text-utils/column.c | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) commit a2c9f86b775d269305d6a74d73322dfaf5454613 Author: Karel Zak Date: Wed Nov 22 14:41:10 2017 +0100 lib/mbsalign: add mbs_invalid_encode() Like mbs_safe_encode(), but it does not care about control chars. Signed-off-by: Karel Zak include/mbsalign.h | 3 ++ lib/mbsalign.c | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) commit 1d5d6587500c79f925d8feb0a62d2630b02bf88f Author: Karel Zak Date: Wed Nov 22 12:45:33 2017 +0100 mount: add hint about -t and root perms to the man page Signed-off-by: Karel Zak sys-utils/mount.8 | 4 ++++ 1 file changed, 4 insertions(+) commit 410078a36c3cdae8754b02f0a5a4068fa3f5f47b Author: Karel Zak Date: Wed Nov 22 12:31:58 2017 +0100 lsblk: add hint about perms to man page Signed-off-by: Karel Zak misc-utils/lsblk.8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 5996b3a9d22b39054b042d02cdcf2220e72ad34e Author: Karel Zak Date: Tue Nov 21 12:11:56 2017 +0100 libmount: add nsfs between pseudo filesystems Signed-off-by: Karel Zak libmount/src/utils.c | 1 + 1 file changed, 1 insertion(+) commit 103c2b37685f23dfa0138db3802341139033101a Author: J William Piggott Date: Fri Nov 17 20:25:40 2017 -0500 hwclock: fix debug regression commit f0a0ce7 makes debug mode implicit for the --test option. Using the previous command syntax of --test and --debug together invokes the undocumented Level 2 debugging when setting the RTC. This can cause many thousands of lines of output like: 1510967983.499968 < 1510967983.500000 (-0.000032) Fix: bump Level 2 debugging to Level 9, just before the other undocumented Level 10. This makes it improbable for the development debug levels to be accessed unintentionally. Signed-off-by: J William Piggott sys-utils/hwclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20bce203c866be20383a5b9c4f5fc67e8452e243 Author: Mikhail Vorobyov Date: Thu Nov 9 06:47:16 2017 +0300 libfdisk: (sun) enhance searching of free space Potential partition start should be aligned to cylinders. So fdisk wouldn't consider partition's last cylinder remains as eligible space for new partition start. libfdisk/src/sun.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit aa4523d2801608e68fd7b6c3ba770b33957fa351 Author: Mikhail Vorobyov Date: Thu Nov 9 06:37:28 2017 +0300 libfdisk: (sun) move aligning of the first sector before availability check So it will check a sector which would be actualy used as the first sector of the partition. libfdisk/src/sun.c | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) commit 1b6cbf5b4f0510e95dd838f5ee48024225da84ce Author: Karel Zak Date: Thu Nov 16 11:39:17 2017 +0100 mount: add more details about UUIDs and LABELs to the man page Signed-off-by: Karel Zak sys-utils/mount.8 | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) commit 7cba18f3a975d6663a3723fb711d005f6af3c688 Author: Karel Zak Date: Mon Nov 13 12:15:17 2017 +0100 blockdev: be more explicit for BLKSSZ in blockdev.8 Addresses: https://github.com/karelzak/util-linux/issues/535 Signed-off-by: Karel Zak disk-utils/blockdev.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a62e5dacff4fa8c9f634680e6989a2fde31b71db Author: J William Piggott Date: Mon Sep 25 20:56:06 2017 -0400 lib/timeutils: ISO_8601_BUFSIZ too small Although iso-8601 specifies years as 4 digits, it allows them to be wider. The current POSIX year width is limited by 'int tm_year' at 10 digits plus a negative sign. That, and the possibility of nanosecond time makes the widest POSIX iso-8601 time 41 characters. Plus the \0 string terminator yields a buffer size of 42. Before truncated output: /sbin/hwclock --utc --noadjfile --predict --date '-2147483765 years' -2147481748-09-25 20:29:45.0000 Patched: ./hwclock --utc --noadjfile --predict --date '-2147483765 years' -2147481748-09-25 20:17:21.000000-0456 ./hwclock --utc --noadjfile --predict --date '-2147483766 years' hwclock: invalid date '-2147483766 years' Comparable to coreutils 'date' command: date -Ins --date '-2147483765 years' -2147481748-09-25T19:49:31,578899297-0456 date -Ins --date '-2147483766 years' date: invalid date '-2147483766 years' The 'date' output illustrates the full 41 character POSIX iso-8601 Signed-off-by: J William Piggott include/timeutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 12378f1bacb2a3104042eea5ea0633f796c7ee87 Author: J William Piggott Date: Mon Sep 25 19:30:24 2017 -0400 hwclock: add iso-8601 overflow check hwclock wasn't testing for strtimeval_iso() truncation: /sbin/hwclock --utc --noadjfile --predict --date '7982 years'; echo $? 9999-09-25 19:33:01.000000-0400 0 /sbin/hwclock --utc --noadjfile --predict --date '7983 years'; echo $? 10000-09-25 19:33:10.000000- 0 Patched: ./hwclock --utc --noadjfile --predict --date '7982 years'; echo $? 9999-09-25 19:22:15.000000-0400 0 ./hwclock --utc --noadjfile --predict --date '7983 years'; echo $? hwclock: iso-8601 format truncated 1 Signed-off-by: J William Piggott sys-utils/hwclock.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 8aa44f8dc7f8b4939fb40b790f3aff2b27861699 Author: Pali Rohár Date: Thu Nov 9 19:03:34 2017 +0100 libblkid: vfat: Fix reading labels which starts with byte 0x05 When FAT directory entry has leading byte 0x05 it is interpreted as byte 0xE5. This is how FAT stores file name which starts with byte 0xE5 as leading byte in 0xE5 in FAT directory entry means that file slot is empty. Fixes: #533 libblkid/src/superblocks/vfat.c | 2 ++ tests/expected/blkid/low-probe-fat32_cp850_O_tilde | 7 +++++++ tests/ts/blkid/images-fs/fat32_cp850_O_tilde.img.xz | Bin 0 -> 5400 bytes 3 files changed, 9 insertions(+) commit 1e79f87eab4a3abf77ea0ed60b215faa1f39f948 Author: Joshua Watt Date: Mon Nov 6 16:25:36 2017 -0600 libmount: Allow MNT_FORCE and MNT_DETACH at umount MNT_FORCE and MNT_DETACH are orthogonal in the Linux kernel, so both may be specified without any problems. Even if there were a problem with this combination, it should be up to the kernel to take the correct action or report an error. Signed-off-by: Joshua Watt libmount/src/context_umount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 658e03b2944131e7d857087e96e3ce4d0a8640ec Author: Luca Ceresoli Date: Tue Nov 7 14:39:09 2017 +0100 md5: declare byteReverse as static byteReverse() is an internal function in md5.c, and is not exposed via any header file, but it is not declared as static. This is a problem with the md5.c file since it is copied more or less verbatim in other programs (fontconfig and pjsip among others), causing a link error when linking two of them together. Fixes link failures such as: http://autobuild.buildroot.net/results/419ab2c0e034cc68991281c51caa8271b0fadbab/build-end.log Signed-off-by: Luca Ceresoli lib/md5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 478b9027605345085619b725ac77dce12f41fb0e Author: Karel Zak Date: Tue Nov 7 14:37:03 2017 +0100 rtcwake: add note about HW and sleep to the man page Addresses: https://github.com/karelzak/util-linux/issues/527 Signed-off-by: Karel Zak sys-utils/rtcwake.8.in | 5 +++++ 1 file changed, 5 insertions(+) commit 0d24a937fc2ac83f78ae114c6d449fdd72bd765a Author: Dirk Mueller Date: Sat Nov 4 04:12:54 2017 +0100 lscpu: Treat read failure on Xen Hypervisor properties as non-fatal At least on the Sydney Amazon EC2 region this file doesn't show up, and the fatal exit code causes the rest of the useful information to not show up. sys-utils/lscpu.c | 3 --- 1 file changed, 3 deletions(-) commit 0ce8df8c84249008ef830112cb9bf96ddd0e1c6a Author: Karel Zak Date: Fri Nov 3 19:34:49 2017 +0100 sfdisk: create empty label on 'write' command Addresses: https://github.com/karelzak/util-linux/issues/528 Signed-off-by: Karel Zak disk-utils/sfdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit abaf0c8e86193f9f5de0d37c4124826c6998ac99 Author: Karel Zak Date: Fri Nov 3 11:20:41 2017 +0100 lslocks: add note about OFDLCK Signed-off-by: Karel Zak misc-utils/lslocks.8 | 4 ++-- misc-utils/lslocks.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 76f7b55d1d3176ee19b37984415ad02415ab95d8 Author: Roddy Shuler Date: Thu Nov 2 21:22:51 2017 -0700 libfdisk: Fix uninitialized structure Without this, 'sfdisk -d' with certain filenames would lead to reading an 's' from the 'type' field in fdisk_reset_labelitem and cause a crash due to prematurely freeing the 'data.str' field. Signed-off-by: Roddy Shuler libfdisk/src/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2b785cb1449c20eff5a77eacf07ef390815cd237 Author: Karel Zak Date: Thu Nov 2 14:25:05 2017 +0100 tests: add fsck.cramfs bad-header test Signed-off-by: Karel Zak tests/expected/cramfs/fsck-bad-header | 2 ++ tests/ts/cramfs/fsck-bad-header | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) commit 4906ccc4e6df0b77ab65a8b7973d7531bacdf481 Author: Tobias Stoeckmann Date: Mon Oct 30 13:49:53 2017 +0100 fsck.cramfs: Fix bus error on broken file system. The utility fsck.cramfs is prone to a bus error on file systems for big endian systems with non-standard header sizes. While calculating the crc32 checksum, it does not properly handle a possible offset for bootcodes, resulting in out of boundary access of mmap'ed area. You can trigger the issue with the following commands: $ mkdir -p cramfs-poc/root/subdir $ cd cramfs-poc $ mkfs.cramfs -p -N big root cramfs $ echo -ne \\00\\x4c | dd of=cramfs bs=1 seek=518 count=2 conv=notrunc $ fsck.cramfs cramfs Signed-off-by: Tobias Stoeckmann disk-utils/fsck.cramfs.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 6b13880f365b78329e5423426617f0bf12bab326 Author: Mikhail Vorobyov Date: Thu Nov 2 04:04:42 2017 +0300 libfdisk: (sun) fix creation of whole disk partition sun_add_partition() allowed the 1st sector to be 0 for the 3rd partition only if that sector was free or if other partitions covered the whole disk. Now it's always allowed for the 1st sector to be set to 0 for the 3rd partition. [kzak@redhat.com: - print info about "wholedisk" before "First sector" dialog for 3rd partition - default to 0 for 3rd partition start sector] Signed-off-by: Mikhail Vorobyov Signed-off-by: Karel Zak libfdisk/src/sun.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 39ab4e85da8c39166aa6cd093248bd146978fb00 Author: Kevin Locke Date: Mon Oct 30 13:50:51 2017 -0600 bash-completion: Exclude /dev/fd from fsck find When the bash-completion for fsck runs `find -L /dev/ -type b` it descends into /dev/fd after opening '.' as file descriptor 3. This causes find to search through /dev/fd/3/ which includes everything below the current directory, which can take a very long time. To avoid this, prune /dev/fd in the find expression. Signed-off-by: Kevin Locke bash-completion/fsck | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 398c2e870d86f101f32d9815b3a582a232746e30 Author: Karel Zak Date: Mon Oct 30 15:45:02 2017 +0100 dmesg: add note about -F format to the man page Signed-off-by: Karel Zak sys-utils/dmesg.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b4703e01f9dc0bc5c1e7ae0f30383c3271f765d2 Author: Karel Zak Date: Mon Oct 30 15:04:20 2017 +0100 Revert "dmesg: fragment concatenation" * introduces regressions * stupid code; parse_kmsg_record() called more than once for each record This reverts commit 22eb2f0190d8a9850da750641439ccd284ac0bfe. sys-utils/dmesg.c | 117 ++++-------------------------------------------------- 1 file changed, 7 insertions(+), 110 deletions(-) commit 95065a1807b1aaa4dea85bead190a22e7b927a69 Author: Milan Broz Date: Tue Oct 24 10:21:29 2017 +0200 tests: add LUKS test images Testing image contains only the first 4k sector, so it is not valid, but for blkid it should be enough. Signed-off-by: Milan Broz tests/expected/blkid/low-probe-luks1 | 5 +++++ tests/expected/blkid/low-probe-luks2 | 8 ++++++++ tests/ts/blkid/images-fs/luks1.img.xz | Bin 0 -> 300 bytes tests/ts/blkid/images-fs/luks2.img.xz | Bin 0 -> 276 bytes 4 files changed, 13 insertions(+) commit 90a13e953174e9ecd0c7065a988b8c1a97415629 Author: Milan Broz Date: Mon Oct 23 16:26:51 2017 +0200 blkid: Add support for LUKS2 and new LABEL attributes. This patch adds support for detection of a LUKS2 superblock. LUKS2 is new version of Linux Unified Key Setup for encrypted block devices. LUKS2 contains a binary header and then JSON area for metadata. Blkid should only parse the binary part, including newly available optional LABEL and SUBSYSTEM fields. LABEL is similar to filesystem label. The SUBSYSTEM field is in principle, just a second label and can be used for specific udev rules (for example if you have some 3rd party system that activates volumes automatically, you can mark devices using this attribute). Both labels are optional. The magic string and UUID location are intentionally on the same offset as LUKS v1, so even unpatched blkid now recognizes LUKS2. Anyway, the code should not parse other versions of the header, so we now explicitly check for header version and support only version 1 and 2. Signed-off-by: Milan Broz libblkid/src/superblocks/luks.c | 42 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) commit a8fb7537ead88db7dc9e047c4829bfd1d4bb3782 Author: Karel Zak Date: Fri Oct 20 14:59:16 2017 +0200 build-sys: move rfkill to /usr/sbin The original implementation uses sbin, let's do it too. Signed-off-by: Karel Zak sys-utils/Makemodule.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)