[yast-commit] r66661 - in /trunk/storage: package/yast2-storage.changes storage/src/modules/FileSystems.ycp
![](https://seccdn.libravatar.org/avatar/bb376bca2c19e74eb46fa87c724f1105.jpg?s=120&d=mm&r=g)
Author: fehr Date: Wed Nov 2 13:05:47 2011 New Revision: 66661 URL: http://svn.opensuse.org/viewcvs/yast?rev=66661&view=rev Log: add nofail for fstab entries on USB, ISCSI and FCOE disks (bnc#726926) Modified: trunk/storage/package/yast2-storage.changes trunk/storage/storage/src/modules/FileSystems.ycp Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=66661&r1=66660&r2=66661&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Wed Nov 2 13:05:47 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Nov 2 13:04:19 CET 2011 - fehr@suse.de + +- add nofail for fstab entries on USB, ISCSI and FCOE disks + (bnc#726926) + +------------------------------------------------------------------- Mon Oct 31 18:38:21 CET 2011 - fehr@suse.de - version 2.21.12 Modified: trunk/storage/storage/src/modules/FileSystems.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/FileSystems.ycp?rev=66661&r1=66660&r2=66661&view=diff ============================================================================== --- trunk/storage/storage/src/modules/FileSystems.ycp (original) +++ trunk/storage/storage/src/modules/FileSystems.ycp Wed Nov 2 13:05:47 2011 @@ -1345,7 +1345,7 @@ string dev = part["device"]:""; LibStorage::StorageInterface::getContVolInfo(sint, dev, dp); integer t = LibStorage::ContVolInfo::swig_ctype_get(dp); - if( t == LibStorage::DISK() ) + if( t == LibStorage::DISK() && part["mount"]:""!="/" ) { any infos = LibStorage::DiskInfo::new("LibStorage::DiskInfo"); string disk = LibStorage::ContVolInfo::swig_cdevice_get(dp); @@ -1353,7 +1353,10 @@ integer r = LibStorage::StorageInterface::getDiskInfo(sint, disk, infos); if( r==0 ) { - if(LibStorage::DiskInfo::swig_iscsi_get(infos)) + integer t = LibStorage::DiskInfo::swig_transport_get(infos); + list<integer> hotpl = [ LibStorage::USB(), LibStorage::FCOE(), LibStorage::ISCSI() ]; + y2milestone( "DefaultFstabOptions transport:%1 list:%2", t, hotpl ); + if( contains( hotpl, t )) { if( size(fst_default)>0 ) fst_default = fst_default + ","; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
fehr@svn2.opensuse.org