Mailinglist Archive: yast-commit (195 mails)

< Previous Next >
[yast-commit] r63525 - /trunk/storage/storage/src/modules/StorageFields.ycp
Author: fehr
Date: Mon Mar 7 14:02:40 2011
New Revision: 63525

URL: http://svn.opensuse.org/viewcvs/yast?rev=63525&view=rev
Log:
only show devices with btrfs superblock that really belong to a btrfs
volume

Modified:
trunk/storage/storage/src/modules/StorageFields.ycp

Modified: trunk/storage/storage/src/modules/StorageFields.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/StorageFields.ycp?rev=63525&r1=63524&r2=63525&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/StorageFields.ycp (original)
+++ trunk/storage/storage/src/modules/StorageFields.ycp Mon Mar 7 14:02:40 2011
@@ -1133,7 +1133,9 @@
else
{
if (partition["used_fs"]:`unknown==`btrfs &&
- !Storage::IsUsedBy(partition))
+ !Storage::IsUsedBy(partition) &&
+ (partition["used_by",0,"type"]:`UB_NONE==`UB_BTRFS ||
+ search( partition["device"]:"", "UUID=" ) == 0))
return `show;
else
return `ignore;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages