Hello community, here is the log from the commit of package libstorage for openSUSE:Factory checked in at Fri Oct 7 00:49:45 CEST 2011.
-------- --- openSUSE:Factory/libstorage/libstorage.changes 2011-09-23 02:10:54.000000000 +0200 +++ libstorage/libstorage.changes 2011-10-06 19:26:39.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Sep 19 12:18:31 CEST 2011 - [email protected] + +- version 2.21.8 +- fix bug that prevent mounting by-id and by-path for BTRFS volumes + (bnc#718717) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- libstorage-2.21.7.tar.bz2 New: ---- libstorage-2.21.8.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libstorage.spec ++++++ --- /var/tmp/diff_new_pack.NaAFD1/_old 2011-10-07 00:49:41.000000000 +0200 +++ /var/tmp/diff_new_pack.NaAFD1/_new 2011-10-07 00:49:41.000000000 +0200 @@ -19,7 +19,7 @@ Name: libstorage -Version: 2.21.7 +Version: 2.21.8 Release: 0 License: GPL Group: System/Libraries ++++++ libstorage-2.21.7.tar.bz2 -> libstorage-2.21.8.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.21.7/VERSION new/libstorage-2.21.8/VERSION --- old/libstorage-2.21.7/VERSION 2011-09-15 12:14:12.000000000 +0200 +++ new/libstorage-2.21.8/VERSION 2011-10-06 18:19:58.000000000 +0200 @@ -1 +1 @@ -2.21.7 +2.21.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.21.7/storage/Geometry.cc new/libstorage-2.21.8/storage/Geometry.cc --- old/libstorage-2.21.7/storage/Geometry.cc 2010-12-07 12:37:50.000000000 +0100 +++ new/libstorage-2.21.8/storage/Geometry.cc 2011-10-06 18:15:24.000000000 +0200 @@ -21,6 +21,7 @@ #include <fcntl.h> +#include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/mount.h> @@ -200,6 +201,9 @@ close(fd); } + else + y2err( "failure opening disk:" << device << " errno:" << errno << + " (" << strerror(errno) << ")" ); y2mil("device:" << device << " ret:" << ret << " geo:" << geo); return ret; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.21.7/storage/Volume.cc new/libstorage-2.21.8/storage/Volume.cc --- old/libstorage-2.21.7/storage/Volume.cc 2011-09-07 17:14:31.000000000 +0200 +++ new/libstorage-2.21.8/storage/Volume.cc 2011-09-19 12:11:22.000000000 +0200 @@ -266,14 +266,15 @@ switch (mby) { case MOUNTBY_PATH: - if (cType() != DISK) + if (cType() != DISK && cType() != BTRFSC ) ret = false; if (udevPath().empty()) ret = false; break; case MOUNTBY_ID: - if (cType() != DISK && cType() != DMRAID && cType() != DMMULTIPATH && cType() != MD && cType() != MDPART) + if (cType() != DISK && cType() != DMRAID && cType() != DMMULTIPATH && + cType() != MD && cType() != MDPART && cType() != BTRFSC ) ret = false; if (udevId().empty() && cType() != MD) ret = false; continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
