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@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org