[yast-commit] r67239 - in /branches/SuSE-Code-11-SP2-Branch/storage: libstorage/src/Storage.cc package/yast2-storage.changes
Author: aschnell Date: Fri Jan 20 10:53:59 2012 New Revision: 67239 URL: http://svn.opensuse.org/viewcvs/yast?rev=67239&view=rev Log: - fixed read-only mount of volumes for resize information detection (bnc#736098) Modified: branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes Modified: branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc?rev=67239&r1=67238&r2=67239&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc (original) +++ branches/SuSE-Code-11-SP2-Branch/storage/libstorage/src/Storage.cc Fri Jan 20 10:53:59 2012 @@ -6904,7 +6904,10 @@ opts += "show_sys_files"; } - if( mountDev( vol->device(), mdir, false, opts ) ) + list<string> opt_l = splitString(opt, ","); + bool ro = find(opt_l.begin(), opt_l.end(), "ro") != opt_l.end(); + + if( mountDev( vol->device(), mdir, ro, opts ) ) { ret = true; } Modified: branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes?rev=67239&r1=67238&r2=67239&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/storage/package/yast2-storage.changes Fri Jan 20 10:53:59 2012 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Jan 20 10:49:38 CET 2012 - aschnell@suse.de + +- fixed read-only mount of volumes for resize information detection + (bnc#736098) + +------------------------------------------------------------------- Thu Jan 19 10:52:02 GMT 2012 - aschnell@suse.de - improved layout for small screens (bnc#740006) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn2.opensuse.org