r222 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Wed Oct 18 15:40:30 UTC 2006
Author: madduck
Date: 2006-10-18 15:40:29 +0000 (Wed, 18 Oct 2006)
New Revision: 222
Modified:
mdadm/trunk/debian/changelog
mdadm/trunk/debian/mdadm.config
Log:
* chroot detection now also works for 2.6.18 and beyond (c.f. kernel commit
778c1144771f0064b6f51bee865cceb0d996f2f9).
Modified: mdadm/trunk/debian/changelog
===================================================================
--- mdadm/trunk/debian/changelog 2006-10-18 14:13:00 UTC (rev 221)
+++ mdadm/trunk/debian/changelog 2006-10-18 15:40:29 UTC (rev 222)
@@ -1,8 +1,10 @@
mdadm (2.5.4-2~unreleased.0) UNRELEASED; urgency=low
* Added FAQ entries about partitionable arrays.
+ * chroot detection now also works for 2.6.18 and beyond (c.f. kernel commit
+ 778c1144771f0064b6f51bee865cceb0d996f2f9).
- -- martin f. krafft <madduck at debian.org> Wed, 18 Oct 2006 15:57:28 +0200
+ -- martin f. krafft <madduck at debian.org> Wed, 18 Oct 2006 17:39:39 +0200
mdadm (2.5.4-1) unstable; urgency=low
Modified: mdadm/trunk/debian/mdadm.config
===================================================================
--- mdadm/trunk/debian/mdadm.config 2006-10-18 14:13:00 UTC (rev 221)
+++ mdadm/trunk/debian/mdadm.config 2006-10-18 15:40:29 UTC (rev 222)
@@ -57,7 +57,7 @@
fi
chrooted() {
- test ! -r /proc/1/root
+ test "$(stat -c "%d/%i" /)" != "$(stat -Lc "%d/%i" /proc/1/root 2>/dev/null)"
}
get_root_raiddev() {
More information about the pkg-mdadm-commits
mailing list