Changes between v2.21 and v2.21.1 -------------------------------------------- commit 7e4dc7ab77fb99c86b7a6d7011d06fad67c97c44 Author: Karel Zak Date: Fri Mar 30 12:34:08 2012 +0200 build-sys: release++ (v2.21.1) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) commit 82353246c2a8728847a66ad1c3b8ef807cf0d6e0 Author: Karel Zak Date: Fri Mar 30 12:32:12 2012 +0200 docs: add v2.21.1-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.21.1-ReleaseNotes | 74 +++++++++++++++++++++++++++ 1 files changed, 74 insertions(+), 0 deletions(-) commit c1e57cb872ce5c1e5ea2db872d5713d540a96ea1 Author: Karel Zak Date: Fri Mar 30 12:27:30 2012 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 6b17d06c330ee1e89d6a397b98411093320dcac1 Author: Karel Zak Date: Fri Mar 30 11:43:18 2012 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 482 ++++++------ po/cs.po | 482 ++++++------ po/da.po | 482 ++++++------ po/de.po | 482 ++++++------ po/es.po | 482 ++++++------ po/et.po | 482 ++++++------ po/eu.po | 482 ++++++------ po/fi.po | 482 ++++++------ po/fr.po | 482 ++++++------ po/gl.po | 479 ++++++------ po/hu.po | 482 ++++++------ po/id.po | 482 ++++++------ po/it.po | 482 ++++++------ po/ja.po | 482 ++++++------ po/nl.po | 482 ++++++------ po/pl.po | 482 ++++++------ po/pt_BR.po | 482 ++++++------ po/ru.po | 482 ++++++------ po/sl.po | 482 ++++++------ po/sv.po | 482 ++++++------ po/tr.po | 482 ++++++------ po/uk.po | 482 ++++++------ po/util-linux.pot | 479 ++++++------ po/vi.po | 2128 ++++++++++++++++++++++++++++++++--------------------- po/zh_CN.po | 479 ++++++------ po/zh_TW.po | 482 ++++++------ 26 files changed, 7283 insertions(+), 6886 deletions(-) commit cf17aba42e98c24ecd3cf11612ffd43803237e9a Author: Trần Ngọc Quân Date: Fri Mar 30 11:36:43 2012 +0200 po: update vi.po (from translationproject.org) po/vi.po | 7740 ++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 3735 insertions(+), 4005 deletions(-) commit c12cd13aba970006d68d0f2e8a27e68a165328f8 Author: Karel Zak Date: Fri Mar 30 11:14:47 2012 +0200 login: correction in sig_handler() Reported-by: Avinesh Kumar Signed-off-by: Karel Zak login-utils/login.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 21d87b808e7bf06d08680004bdf75fa577ba97a2 Author: Karel Zak Date: Fri Mar 30 09:28:55 2012 +0200 tests: update fdisk test Signed-off-by: Karel Zak tests/expected/fdisk/oddinput | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 752e0512d79b57ecb0bb69799b7b9c9cc3a32772 Author: Karel Zak Date: Thu Mar 29 15:06:49 2012 +0200 blkid: add note about variable tags and devices order. Reported-by: Michael Conrad Signed-off-by: Karel Zak misc-utils/blkid.8 | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit af3692ba85fc3b9decd48e8a971f5ea3044b4302 Author: Dong Hao Date: Wed Mar 21 13:50:14 2012 +0800 mount: fix recursively propagation mounting Provide the recursive flag of propagation mounting. Recursive flag could be used together with propagation flag. [kzak@redhat.com: - add MS_SILENT to acceptable propagation flags, - fix new code in libmount too] Signed-off-by: Karel Zak Signed-off-by: Dong Hao libmount/src/context_mount.c | 5 +++-- mount/mount.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) commit 5287a42f773a135a10756975d0d2f315f6ff1172 Author: Karel Zak Date: Tue Mar 20 11:13:28 2012 +0100 fdisk: don't print confusing warning on non-partitioned disks Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=740163 Signed-off-by: Karel Zak fdisk/fdisk.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit 736a055c686602a15782d4600772747a21913a56 Author: Karel Zak Date: Tue Mar 20 10:42:47 2012 +0100 libmount: add configfs to pseudofs list Signed-off-by: Karel Zak libmount/src/utils.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 52bcaee641b4119c9f93c9a965d305470d2258fc Author: Bill Pemberton Date: Fri Mar 16 20:30:46 2012 -0400 findmnt: add -P, --pairs to the man page Signed-off-by: Bill Pemberton misc-utils/findmnt.8 | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 9a0339e007e8ca0efa2c795a26c56f726076fd76 Author: Sebastian Andrzej Siewior Date: Wed Feb 29 22:26:19 2012 +0100 build-sys: make the crosscompile path for scanf_cv_alloc_modifier clever My earlier assumption was that scanf_cv_alloc_modifier is unused. This is not true as pointed out by Karel since it used befoe checking for libmount. Argh. So instead saying no I add a test to check for glibc >= 2.7 which provides %m. As of uClibc v0.9.32-rc3 the situation looks the following: | git grep _M_SPEC__ |libc/stdio/_vfprintf.c:/* #define __UCLIBC_HAS_PRINTF_M_SPEC__ */ |libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__ |libc/stdio/_vfprintf.c:# ifdef __UCLIBC_HAS_PRINTF_M_SPEC__ |libc/stdio/_vfprintf.c:# endif /* __UCLIBC_HAS_PRINTF_M_SPEC__ */ |libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__ |libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__ |libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__ |libc/stdio/_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__ |libc/stdio/old_vfprintf.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__ |libc/stdio/perror.c:#ifdef __UCLIBC_HAS_PRINTF_M_SPEC__ And other libc user have to bring their own stuff. Signed-off-by: Sebastian Andrzej Siewior configure.ac | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) commit b8f1b29787637f0970b1a682c0d192896c2628b8 Author: Karel Zak Date: Tue Mar 20 09:06:09 2012 +0100 mount: (new) add missing xalloc.h Signed-off-by: Karel Zak sys-utils/mount.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit a06b7779023a7d6eaf0258bf0f5ec5586ee21cb6 Author: Karel Zak Date: Mon Mar 26 10:08:48 2012 +0200 Revert "lib/canonicalize: always remove tailing slash" It's overkill to modify unknown paths in a generic function like canonicalize_path(). for example: mount -t fuse 'sshfs#marty@thee:/' /media/thee will be canonicalized to mount -t fuse 'sshfs#marty@thee:' /media/thee and this obvious bug. Reported-by: Martin Panter This reverts commit 28074a0952469aebf021821d95238cfb964d13ff. lib/canonicalize.c | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) commit ff38238ff6d2db1ebd1d829e03835bc302b455fa Author: Karel Zak Date: Fri Mar 2 15:59:10 2012 +0100 tests: search for "none" by findmnt Signed-off-by: Karel Zak tests/ts/mount/fstab-none | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit a13f1fd6c21f19dd790c779f7dec279aead21eb6 Author: Karel Zak Date: Fri Mar 2 13:33:46 2012 +0100 tests: wait a moment between mount and umount It seems that without sleep between mount and umount are the test unstable, because kernel is not able to provide updated /proc/self/mountinfo so quickly (really?). Signed-off-by: Karel Zak tests/ts/libmount/context-utab | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 5acc98d56882eacfb16b43d1c77904ba76caa07f Author: Karel Zak Date: Fri Mar 2 09:57:49 2012 +0100 tests: update libmount tests Signed-off-by: Karel Zak tests/expected/libmount/tabfiles-parse-mountinfo | 2 +- tests/expected/libmount/tabfiles-parse-mtab | 2 +- tests/expected/libmount/update-utab-mount | 2 +- tests/expected/libmount/update-utab-move | 2 +- tests/expected/libmount/update-utab-remount | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit bcb49ad6d28b572452aa7b25672daed61622a414 Author: Karel Zak Date: Thu Mar 1 12:30:14 2012 +0100 tests: add tests for mount --make-* stuff Signed-off-by: Karel Zak tests/expected/mount/shared-subtree | 1 + tests/expected/mount/shared-subtree-make-private | 1 + tests/expected/mount/shared-subtree-make-shared | 1 + .../expected/mount/shared-subtree-make-unbindable | 1 + tests/ts/mount/shared-subtree | 58 ++++++++++++++++++++ 5 files changed, 62 insertions(+), 0 deletions(-) commit 7db5776c14c291da3c56803f7a6cbc8b0276005c Author: Karel Zak Date: Tue Feb 28 14:37:45 2012 +0100 tests: make output and diff dirs usage more robust Signed-off-by: Karel Zak tests/Makefile.am | 2 +- tests/functions.sh | 15 ++++++++++++--- tests/ts/build-sys/config | 11 ++++++++++- 3 files changed, 23 insertions(+), 5 deletions(-) commit 3af684df6e8a3b70fa6ef7da9bfab02b9be0acdf Author: Karel Zak Date: Tue Feb 28 00:21:48 2012 +0100 test: test 'none' source for mount(8) Signed-off-by: Karel Zak tests/expected/mount/fstab-none | 1 + tests/ts/mount/fstab-none | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 0 deletions(-) commit 686a2d85e1bbba46bb07cbe5c4f1633167ffa555 Author: Karel Zak Date: Fri Feb 24 21:05:09 2012 +0100 tests: test non-canonical paths in fstab Signed-off-by: Karel Zak tests/expected/libmount/tabfiles-find-target2 | 5 +++++ tests/expected/libmount/tabfiles-find-target3 | 5 +++++ tests/expected/libmount/tabfiles-parse-fstab | 5 +++++ tests/ts/libmount/files/fstab | 2 ++ tests/ts/libmount/tabfiles | 10 ++++++++++ 5 files changed, 27 insertions(+), 0 deletions(-) commit 5f64a09015992e268834fffb60a10d99fe6f46f2 Author: Karel Zak Date: Tue Mar 13 13:25:49 2012 +0100 libmount: add nfsd to mnt_fstype_is_pseudofs() Signed-off-by: Karel Zak libmount/src/utils.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit d47607fc30c9475c8d1fd30a83a0fecf0769c716 Author: Dave Reisner Date: Fri Mar 9 13:32:43 2012 -0500 lsblk: RQ-SIZE is part of the --topology output (man page bugfix) Signed-off-by: Dave Reisner Signed-off-by: Karel Zak misc-utils/lsblk.8 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4b964632d1692470357e8afaa37c22d8050b7006 Author: Daniel Drake Date: Fri Mar 9 17:56:50 2012 +0000 losetup: Fix setting of sizelimit on new loop devices "losetup --offset 10 --sizelimit 20 foo.img" was producing a loop device with offset 20 and no sizelimit. Looks like a typo, fix it. Signed-off-by: Daniel Drake sys-utils/losetup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 576e957e8abf8e09404753e30fa6a4670d3be64f Author: Dave Reisner Date: Tue Feb 28 11:45:09 2012 -0500 fstab.5: fix misspelling of deprecated Signed-off-by: Dave Reisner mount/fstab.5 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit cb056dfaf9ae3b06b82e6a1ee9282c98a9830c46 Author: Karel Zak Date: Fri Mar 9 13:11:24 2012 +0100 libmount: fix "already mounted" detection on systems with mtab For systems with regular mtab the fs->root should be ignored in "already mounted" heuristic. Reported-by: Matt Burgess Signed-off-by: Karel Zak include/list.h | 4 +++ libmount/src/tab.c | 66 ++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 53 insertions(+), 17 deletions(-) commit 29c49108fedad61dba82f77dfaec518224e188f3 Author: Dave Reisner Date: Sun Mar 4 16:08:39 2012 -0500 libmount: avoid infinite loop in child fs iteration In early userspace, the rootfs is mounted with itself as its parent. Example /proc/self/mountinfo: 1 1 0:1 / / rw - rootfs rootfs rw 14 1 0:3 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw 15 1 0:13 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sys rw 16 1 0:5 / /dev rw,nosuid,relatime - devtmpfs dev rw,size=506956k 17 1 0:14 / /run rw,nosuid,nodev,relatime - tmpfs run rw,mode=755 This causes an infinite loop in mnt_table_next_child_fs, and is evidenced by a crash via infinite recursion in findmnt. Simply catch the condition where the ID of the parent is the ID of the current fs we're examining and skip over it to the next mount in the table. Signed-off-by: Dave Reisner libmount/src/tab.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit acb57dfc6bf4096127e4238ad79c019609e871b6 Author: Karel Zak Date: Thu Mar 8 16:02:28 2012 +0100 script: play well with csh when invoked from within /etc/csh.login Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=797888 Signed-off-by: Karel Zak term-utils/script.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 9b6f929afaae22ef7ee3186d13562cf9fad94b79 Author: Christian Wiese Date: Wed Feb 15 13:39:22 2012 +0100 fdisk: fix to build for IA32 Tested architectures: - i486 using gcc -march=i486 - i586 using gcc -march=pentium-mmx - i686 using gcc -march={pentiumpro,pentium2,pentium3,pentium-m,pentium4} Without this fix building fdisk fails for for all tested arch/cpu types emiting following error: ------------------------------------------------------------------------------ In file included from fdiskbsdlabel.c:62:0: fdiskbsdlabel.h:61:2: error: #error unknown architecture fdiskbsdlabel.c: In function 'bselect': fdiskbsdlabel.c:180:44: error: 'BSD_LABELSECTOR' undeclared (first use in this function) fdiskbsdlabel.c:180:44: note: each undeclared identifier is reported only once for each function it appears in fdiskbsdlabel.c: In function 'xbsd_write_bootstrap': fdiskbsdlabel.c:539:24: error: 'BSD_LABELSECTOR' undeclared (first use in this function) fdiskbsdlabel.c: In function 'xbsd_readlabel': fdiskbsdlabel.c:744:28: error: 'BSD_LABELSECTOR' undeclared (first use in this function) fdiskbsdlabel.c:744:60: error: 'BSD_LABELOFFSET' undeclared (first use in this function) fdiskbsdlabel.c: In function 'xbsd_writelabel': fdiskbsdlabel.c:769:32: error: 'BSD_LABELSECTOR' undeclared (first use in this function) fdiskbsdlabel.c:780:61: error: 'BSD_LABELOFFSET' undeclared (first use in this function) make[2]: *** [fdisk-fdiskbsdlabel.o] Error 1 ------------------------------------------------------------------------------ This fix was tested with following major toolchain components: binutils 2.21.53.0.2 gcc 4.6.2 glibc 2.14.1 fdisk/fdiskbsdlabel.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c3fe01978e347adeb11cc16d59faa86584bf87ce Author: Karel Zak Date: Wed Mar 7 13:11:54 2012 +0100 lsblk: remove (dm-N) from NAME for raw/pair output format $ lsblk -P -o NAME /dev/dm-0 NAME="luks-10d813de-fa82-4f67-a86c-23d5d0e7c30e (dm-0)" the (dm-0) sucks in the parsable output... Reported-by: Peter Rajnoha Signed-off-by: Karel Zak misc-utils/lsblk.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit dda7198bedc8a44b63db5153f96196309fa654c8 Author: Karel Zak Date: Mon Mar 5 16:48:38 2012 +0100 login: fix LOGIN_CHOWN_VCS code Signed-off-by: Karel Zak login-utils/login.c | 49 +++++++++++++++++++++++++------------------------ 1 files changed, 25 insertions(+), 24 deletions(-) commit 8b03f24db632814770416bbe7afd24b9379753b4 Author: Karel Zak Date: Fri Mar 2 15:53:55 2012 +0100 libmount: add mnt_fs_streq_target() Note that in v2.21.x the function mnt_fs_streq_ are not exported by libmount API. Signed-off-by: Karel Zak libmount/src/fs.c | 36 +++++++++++++++++++++++++++--------- libmount/src/mountP.h | 4 ++++ libmount/src/tab.c | 24 +++++++++++++----------- libmount/src/tab_parse.c | 15 ++++----------- sys-utils/mount.c | 21 ++++++++++++++++++++- 5 files changed, 68 insertions(+), 32 deletions(-) commit 1c51da86799fa3e5e57a75ebf0c99483471d96ce Author: Karel Zak Date: Fri Mar 2 13:29:39 2012 +0100 libmount: add mnt_fs_streq_srcpath() We have to be careful with "none" or another dummy sources for pseudo filesystems. These strings should be canonicalized or compared as a paths. The function is not exported by library API. Signed-off-by: Karel Zak libmount/src/fs.c | 33 +++++++++++++++++++++++---------- libmount/src/mountP.h | 1 + libmount/src/tab.c | 31 ++++++++++--------------------- libmount/src/tab_parse.c | 2 +- sys-utils/mount.c | 2 +- 5 files changed, 36 insertions(+), 33 deletions(-) commit 7e308bc6991300cd0cdafb83f710ebf49e0ab523 Author: Karel Zak Date: Fri Mar 2 11:23:34 2012 +0100 libmount: cosmetic changes around "none" Signed-off-by: Karel Zak libmount/src/context.c | 6 +++++- libmount/src/context_mount.c | 7 +++++-- 2 files changed, 10 insertions(+), 3 deletions(-) commit 6afe817f4ebb616ade1e09ff8290be106d21fde3 Author: Dave Reisner Date: Thu Mar 1 22:47:00 2012 -0500 libmount: don't treat "none" differently This causes more problems than it solves. In the latest edition: # mount -t proc none foo mount: foo: mount failed: Invalid argument A check for source and target fails in mnt_context_apply_fstab() because, even though they were indeed specified on the cmdline, __mnt_fs_set_source_ptr() altered this and NULL'd out the source. If you're able to mount this device via other means, other tools start reporting oddities, such as mount's output: (null) on /foo type proc (rw,relatime) or findmnt: TARGET SOURCE FSTYPE OPTIONS /foo proc rw,relatime Simply treat "none" like any other source when passed in. [kzak@redhat.com: - don't translate NULL to "none" in mnt_fs_set_source()] Signed-off-by: Dave Reisner Signed-off-by: Karel Zak libmount/src/fs.c | 7 ++----- libmount/src/tab.c | 7 +++---- libmount/src/tab_parse.c | 7 +------ 3 files changed, 6 insertions(+), 15 deletions(-) commit 5490bc4abd5357265cfe575c34d831e334c63cd9 Author: Dave Reisner Date: Thu Mar 1 22:46:59 2012 -0500 mountpoint: account for error from in mnt_fs_get_target commit 04f087ec didn't take into consideration that mnt_fs_get_target() could return an error, and would therefore show false positives, such as: $ mkdir foo; mountpoint foo foo is a mountpoint Signed-off-by: Dave Reisner sys-utils/mountpoint.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit ceebdd251bce455cb9866f90204fa22f3dcc58dd Author: Karel Zak Date: Thu Mar 1 14:24:04 2012 +0100 libblkid: properly reset chain in probe_do_wipe() The command wipefs is not able to remove all signatures from the device if the first detected signature is linux raid. The another superblock signatures are ignored. For example: # pvcreate /dev/sdb1 # mdadm --create md8 --metadata=0.90 --chunk=64 --level=0 \ --raid-devices=2 /dev/sdb1 /dev/sdb2 # wipefs -a /dev/sdb1 will delete the linux raid signature only. Reported-by: Milan Broz Signed-off-by: Karel Zak libblkid/src/probe.c | 40 +++++++++++++++++++++++++++++++++++----- 1 files changed, 35 insertions(+), 5 deletions(-) commit aadfcc2759b9acd99e539b9fbaef313d932107b9 Author: Zhi Li Date: Wed Feb 29 16:28:49 2012 +0800 mountpoint: fix a minor bug with 0:0 devno zhi@debian-lizhi:~$ mountpoint /sys /sys is not a mountpoint zhi@debian-lizhi:~$ The problem is in mountpoint.c, function dir_to_device(), which uses 0 as an error return value, but for sysfs 0 is its device number: zhi@debian-lizhi:~$ cat /proc/self/mountinfo 14 19 0:0 / /sys rw,nosuid,nodev,noexec,relatime - sysfs none rw 15 19 0:3 / /proc rw,nosuid,nodev,noexec,relatime - proc none rw My change is on dir_to_device, seperating device number from return value. Signed-off-by: Zhi Li sys-utils/mountpoint.c | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) commit dd0b15ead3c6d6f96b621dad1e67cfdfc3e6da11 Author: Raghavendra D Prabhu Date: Sun Feb 26 16:36:42 2012 +0530 mount: (new) add 'internal-only(i)' to non-root allowed options Commit ce433404 introduced the change, which causes something like mount -i to break which worked well before util-linux-2.21, now it gives message 'mount: only root can use "--internal-only" option' when that shouldn't be the case when it is already in fstab. Signed-off-by: Raghavendra D Prabhu sys-utils/mount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f46d1c967a5e00a3bd7ffdb73a602270569e6618 Author: Sebastian Andrzej Siewior Date: Fri Feb 24 18:16:07 2012 +0100 build-sys: add a crosscompile path for scanf_cv_alloc_modifier This allows to building the package cross again. Since the return value is not used I guess there is little loss. Signed-off-by: Sebastian Andrzej Siewior configure.ac | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit f8256c1a235da68d578031ba5557f54b90a00406 Author: Karel Zak Date: Tue Feb 28 11:16:16 2012 +0100 login: support crazy shadow-utils syntax in login.defs standard syntax for FOO=data: ENV_FOO data additional syntax: ENV_FOO FOO=data Reported-by: Colin Guthrie colin@mageia.org Signed-off-by: Karel Zak login-utils/login.c | 11 ++++------- login-utils/logindefs.c | 37 +++++++++++++++++++++++++++++++++++++ login-utils/logindefs.h | 1 + 3 files changed, 42 insertions(+), 7 deletions(-) commit 553b72535b5472520bb9b5cc2324cfc69d40a3c4 Author: Karel Zak Date: Tue Feb 28 00:02:30 2012 +0100 libmount: allow empty source for mount(2) syscall Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=797438 Signed-off-by: Karel Zak libmount/src/context_mount.c | 4 +++- sys-utils/mount.c | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) commit 4d96a0491fe19b0f60b3ab639905e969729b5b55 Author: Karel Zak Date: Mon Feb 27 16:43:12 2012 +0100 libmount: use mount. -s for NFS only Unfortunately, it seems that for example mount.cifs don't care about the API, so we need exception like the original mount(8). Signed-off-by: Karel Zak libmount/src/context_mount.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit d482f41702fe1bf60b1dca4aa47a554da2c8a706 Author: Karel Zak Date: Fri Feb 24 23:03:22 2012 +0100 mount: (new) cleanup mount -a return codes New return codes: 0 : all mounted (or all ignored) 64 : some mounted, some failed 32 : all failed Note that already mounted or ignored (filtered out by -t or -O) filesystems don't affect the final return code. The original mount(8) returns 0 instead of 64, so the situation "some mounted, some failed" cannot be detected. Signed-off-by: Karel Zak sys-utils/mount.8 | 4 ++++ sys-utils/mount.c | 23 +++++++++++++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) commit 0985265c15555d3d64a93895aff89e24c101685a Author: Karel Zak Date: Fri Feb 24 22:52:45 2012 +0100 libmount: canonicalize targets from fstab on mount -a Signed-off-by: Karel Zak libmount/src/tab.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit 46bbc642c6871b60481e217b2dd95c81b704efec Author: Karel Zak Date: Fri Feb 24 21:30:22 2012 +0100 libmount: optimize for paths with tailing slash mnt_table_find_target() canonicalizes paths by libmnt cache, but it's overkill if the difference between paths is tailing slash only. Signed-off-by: Karel Zak libmount/src/tab.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c8b4cf7abdd38833ef0497ee4571bd61994ddea3 Author: Karel Zak Date: Fri Feb 24 21:26:11 2012 +0100 lib/canonicalize: always remove tailing slash Signed-off-by: Karel Zak lib/canonicalize.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) commit 1cd29ef541c4ed7126085338c6ccb8ca27a5a884 Author: Karel Zak Date: Fri Feb 24 20:25:43 2012 +0100 libmount: canonicalize all paths from (fs)tab Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=797216 Signed-off-by: Karel Zak libmount/src/tab.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9253a5f925cda4e011c3a4c03275e42efa13dde1 Author: Petr Uzel Date: Fri Feb 24 11:51:53 2012 +0100 losetup: add --detach-all to the list of options Signed-off-by: Petr Uzel sys-utils/losetup.8 | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 27c64071b0735a717f41f242aefee72c55fdb0a3 Author: Karel Zak Date: Fri Feb 24 14:09:27 2012 +0100 build-sys: don't create empty man/ru directory Based on master branch patches: dda92fe093f761916b49e9bd11609d2057da8d62 build-sys: s/ruman/ruman1/ 7aa8bdb50e49d18ad07d708a9ccfbf0ffbfaf612 docs: do not overwrite ddate.1 manual 6a0335d6cbdedeacc0afef251a53c945699ddea7 build-sys: don't create empty man/ru directory Reported-by: Tom Gundersen Signed-off-by: Karel Zak configure.ac | 2 ++ man/ru/Makefile.am | 7 ++----- 2 files changed, 4 insertions(+), 5 deletions(-)