Changes between v2.15-rc2 and v2.15 ----------------------------------- commit 676c8bfa7815a3be3fe07d83c043a65610650682 Author: Karel Zak Date: Tue May 5 22:21:15 2009 +0200 build-sys: release++ (v2.15) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- docs/v2.15-ReleaseNotes | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) commit de07ce289183bdb133c7456433ca6e4bf1828e9a Author: Karel Zak Date: Tue May 5 22:18:17 2009 +0200 docs: update v2.15 ReleaseNotes Signed-off-by: Karel Zak docs/v2.15-ReleaseNotes | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) commit 969b567e1a1b7dd2fc079dbcc88e1206aa20532b Author: Karel Zak Date: Tue May 5 22:11:22 2009 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 6f52b6e9ae8a02285cab0e19bffc2f599e97f517 Author: Karel Zak Date: Mon Apr 27 14:33:22 2009 +0200 blkid: use /sys/block/dm-/dm/name The Linux kernel (since 2.6.29, patch 784aae735d9b0bba3f8b9faef4c8b30df3bf0128) exports the real DM device names in /sys/block//dm/name. The sysfs based solution is nicer and faster than scan for devno in /dev/mapper/. CC: Milan Broz Signed-off-by: Karel Zak libs/blkid/src/devname.c | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) commit 0e1ae8abce67829ba07ec8de1c4daef152d92846 Author: Karel Zak Date: Tue May 5 21:40:19 2009 +0200 blkid: use /dev/mapper/ rather than /dev/dm- The libblkid (since v1.41.1) returns private device-mapper names (e.g. /dev/dm-0). It's because the probe_one() function scans /dev before /dev/mapper. brw-rw---- 1 root disk 253, 0 2009-04-27 13:41 /dev/dm-0 brw-rw---- 1 root disk 253, 0 2009-04-27 13:41 /dev/mapper/TestVolGroup-TestLogVolume Old version: # blkid -t LABEL="TEST-LABEL" -o device /dev/dm-0 Fixed version: # blkid -t LABEL="TEST-LABEL" -o device /dev/mapper/TestVolGroup-TestLogVolume Addresses-Red-Hat-Bug: #497259 Signed-off-by: Karel Zak libs/blkid/src/devname.c | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) commit 4884729a6e5c2dbd0c7cdf356a86543525e43661 Author: Karel Zak Date: Wed Apr 29 16:38:36 2009 +0200 blkid: linux_raid - fix logic for volumes with size == 0 Based on commit 7643819062985d9fc6c7664072576e71d3822b10 Author: Kay Sievers Date: Sat Sep 6 16:23:21 2008 +0200 from udev upstream tree. Reported-by: Scott James Remnant Signed-off-by: Karel Zak libs/blkid/src/probe.c | 5 ++++ libs/blkid/src/probers/linux_raid.c | 36 +++++++++++++++++++--------------- 2 files changed, 25 insertions(+), 16 deletions(-) commit 396b8c0f9fa583b9236aadc78673ce8daa6d555b Author: Karel Zak Date: Wed Apr 29 15:51:32 2009 +0200 tests: fix -regex in run.sh Reported-by: Scott James Remnant Signed-off-by: Karel Zak tests/run.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 2c59ce79907245d7db29dfc827ba2b39dcd9b7ff Author: Karel Zak Date: Wed Apr 29 15:36:53 2009 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 138 +++--- po/cs.po | 745 +++++++++++++++++++---------- po/da.po | 138 +++--- po/de.po | 138 +++--- po/es.po | 138 +++--- po/et.po | 138 +++--- po/eu.po | 138 +++--- po/fi.po | 138 +++--- po/fr.po | 1304 ++++++++++++++++++++++++++++++++++---------------- po/hu.po | 138 +++--- po/id.po | 1026 +++++++++++++++++++++++++++------------- po/it.po | 138 +++--- po/ja.po | 138 +++--- po/nl.po | 138 +++--- po/pl.po | 138 +++--- po/pt_BR.po | 138 +++--- po/ru.po | 138 +++--- po/sl.po | 138 +++--- po/sv.po | 138 +++--- po/tr.po | 138 +++--- po/uk.po | 138 +++--- po/util-linux-ng.pot | 138 +++--- po/vi.po | 138 +++--- po/zh_CN.po | 138 +++--- 24 files changed, 3530 insertions(+), 2443 deletions(-) commit 4e5ffbf38dec281caec40424a9b45e5b8a43ca7e Author: Arif E. Nugroho Date: Wed Apr 29 15:34:26 2009 +0200 po: update id.po (from translationproject.org) po/id.po | 1826 ++++++++++++++++++++++++++------------------------------------ 1 files changed, 777 insertions(+), 1049 deletions(-) commit 2556af1846844bab0e165f22da2641af54036da6 Author: Nicolas Provost Date: Wed Apr 29 15:34:26 2009 +0200 po: update fr.po (from translationproject.org) po/fr.po | 2002 +++++++++++++++++++++++++------------------------------------- 1 files changed, 810 insertions(+), 1192 deletions(-) commit 40a16c894ab86856aba2bc5ebad9d106368b96ac Author: Petr Pisar Date: Wed Apr 29 15:34:25 2009 +0200 po: update cs.po (from translationproject.org) po/cs.po | 1464 ++++++++++++++++++++++++++++---------------------------------- 1 files changed, 667 insertions(+), 797 deletions(-) commit cee95a956734d3dbe0d544000b545b8e5af3e627 Author: Karel Zak Date: Wed Apr 29 15:11:54 2009 +0200 blkid: rename blkid_evaluate_spec to blkid_evaluate_tag "SPEC" is usually used in mount(8) as a generic term for device name or tag (LABEL, UUID). The function blkid_evaluate_* works with TAGs only. Signed-off-by: Karel Zak configure.ac | 4 ++-- lib/fsprobe.c | 14 +++++++------- libs/blkid/TODO | 2 +- libs/blkid/bin/blkid.c | 2 +- libs/blkid/bin/findfs.c | 2 +- libs/blkid/src/blkid.h | 2 +- libs/blkid/src/blkid.sym | 2 +- libs/blkid/src/evaluate.c | 6 +++--- 8 files changed, 17 insertions(+), 17 deletions(-) commit 5d5ae40b26af1a9e399264b43ca59c6e193c4244 Author: Karel Zak Date: Wed Apr 29 14:46:21 2009 +0200 docs: add entry about /proc/partitions parsing Signed-off-by: Karel Zak TODO | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 047ec698d490507da52634566a5b555fbebef718 Author: Karel Zak Date: Wed Apr 29 14:33:52 2009 +0200 sfdisk: fix possible buffer overflow Signed-off-by: Karel Zak fdisk/sfdisk.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit bb66209012bcc33dd2df316a1c42afe1a869fdc1 Author: Karel Zak Date: Wed Apr 29 14:24:45 2009 +0200 fdisk: fix max. ptname Signed-off-by: Karel Zak fdisk/fdisk.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 18c3e243414ebcaac3603a86e9ac55c232715fd8 Author: Karel Zak Date: Wed Apr 29 14:17:39 2009 +0200 blockdev: fix possible buffer overflow Signed-off-by: Karel Zak disk-utils/blockdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 33b0be6d60cc793951623feb6b8a2d1177112aca Author: Karel Zak Date: Tue Apr 28 22:51:53 2009 +0200 blkid: split SONAME and LIBBLKID_VERSION It seems better to split SONAME and the public library version. The library version will be the same as util-linux-ng PACKAGE_VERSION. PACKAGE_VERSION: .[-] e.g. 2.15-rc2 Symbols versioning: BLKID_. e.g. BLKID_2.15 blkid_get_library_version(): ..0 e.g. 2.15.0 SONAME: libblkid.so.1 See also the original patch a0487b1cb5beffb8f6783476664b01e8833e0ea8 where was introduced library versioning. Signed-off-by: Karel Zak configure.ac | 27 +++++++++++---------------- libs/blkid/bin/blkid.c | 2 +- libs/blkid/blkid.pc.in | 2 +- libs/blkid/src/Makefile.am | 4 ++-- libs/blkid/src/blkid.sym | 6 +++--- libs/blkid/src/version.c | 12 ++++++++++-- 6 files changed, 28 insertions(+), 25 deletions(-) commit 279723e92d665b0a782a780de77c7d73b09426c5 Author: Karel Zak Date: Tue Apr 28 09:16:32 2009 +0200 cfdisk: fix "cannot seek on disk drive" bug Addresses-Debian-Bug: #511161 Signed-off-by: Karel Zak TODO | 2 ++ fdisk/cfdisk.c | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) commit 0295be0377d478c709d5176d93196367a5dac638 Author: Eric Sandeen Date: Fri Apr 24 21:08:45 2009 +0200 blkid: remove whole-disk entries from cache when partitions are found We can get into a situation in blkid where whole disks remain in the cache, even though partitions are found. For labels such as sun disklabels which may have the first partition beginning at sector 0, this is even somewhat likely. 1) create a sun disklabel w/partitions 2) mkfs the first partition (at sector 0) 3) remove the partition table 4) run blkid - this finds the fs on the whole disk, places in cache 5) recreate the partition table 6) run blkid - this finds the partition, places in cache And now we have both /dev/sda and /dev/sda1 in cache. There are heuristics in probe_all to avoid putting the whole disk in cache if it has partitions, but there is nothing to remove the whole-disk entry in the above case. I think the below patch suffices, although I haven't quite convinced myself that setting the lens[which]=0; is the right logic for that bit of state... Signed-off-by: Eric Sandeen Signed-off-by: "Theodore Ts'o" Signed-off-by: Karel Zak libs/blkid/src/devname.c | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) commit ee5190416921537b9747bdbdad496b11d737bd81 Author: Aurelien Jarno Date: Wed Apr 22 09:34:10 2009 +0200 agetty: IUCLC and OLCUC are Linux extensions IUCLC and OLCUC are Linux extensions to termios. The same way it is already done for XCASE, they can be ignored if not supported. Signed-off-by: Aurelien Jarno login-utils/agetty.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit fc08b4bb9d5997c0d65eec37b5c795ddbbbebd97 Author: Karel Zak Date: Thu Apr 23 15:09:04 2009 +0200 losetup: mount endless loop hang Based on fix-hang-on-stale-nfs.diff from SUSE src.rpm package. It seems better to more precisely check for ENXIO rather than assume that all LOOP_GET_STATUS errors mean that the device is not used. Addresses-Novell-Bugzilla: #449646 Signed-off-by: Karel Zak mount/lomount.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 357e7c3b2d54a36fb97e2ac5fa903c7a6aeafd7e Author: Karel Zak Date: Thu Apr 23 13:22:27 2009 +0200 ionice: change Jens Axboe's email Based on util-linux-2.14.2-schedutils_fix_email.patch from SUSE src.rpm package. Signed-off-by: Karel Zak schedutils/ionice.1 | 2 +- schedutils/ionice.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 40bc2ab5169d57d1698a5971ef330f032e29b444 Author: Aurelien Jarno Date: Wed Apr 22 09:19:26 2009 +0200 chrt: add a comment about non POSIX 1003.1b attributes in chrt.1 Mention that only SCHED_FIFO, SCHED_OTHER and SCHED_RR are part of POSIX 1003.1b Process Scheduling in chrt.1. Signed-off-by: Aurelien Jarno schedutils/chrt.1 | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 5c94bacb782fc0e60bb96b52fb0587b2222bca60 Author: Karel Zak Date: Wed Apr 22 17:08:28 2009 +0200 docs: add a note about /proc/sys/kernel/random/uuid Signed-off-by: Karel Zak TODO | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 89289f1f25bc0211463c32ceabd22e293bfc0e05 Author: Aurelien Jarno Date: Sun Apr 19 16:33:44 2009 +0200 lib: do not include in ismounted.c is included for no reason in lib/ismounted.c. This obviously breaks on non-Linux systems. Signed-off-by: Aurelien Jarno lib/ismounted.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 7a45833263459bc599478569c0e8840264211603 Author: Karel Zak Date: Mon Apr 20 11:54:41 2009 +0200 blkid: rename blkid_debug_init to blkid_init_debug Signed-off-by: Karel Zak libs/blkid/src/blkidP.h | 4 ++-- libs/blkid/src/cache.c | 6 +++--- libs/blkid/src/config.c | 2 +- libs/blkid/src/dev.c | 2 +- libs/blkid/src/devname.c | 2 +- libs/blkid/src/devno.c | 2 +- libs/blkid/src/evaluate.c | 4 ++-- libs/blkid/src/probe.c | 2 +- libs/blkid/src/read.c | 2 +- libs/blkid/src/resolve.c | 2 +- libs/blkid/src/save.c | 2 +- libs/blkid/src/tag.c | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-)