[yast-commit] r41104 - in /trunk/storage: data/sysconfig.storage libstorage/src/Storage.cc package/yast2-storage.changes
Author: fehr Date: Wed Sep 26 12:01:27 2007 New Revision: 41104 URL: http://svn.opensuse.org/viewcvs/yast?rev=41104&view=rev Log: allow also device, uuid and label as default mount-by in /etc/sysconfig/storage Modified: trunk/storage/data/sysconfig.storage trunk/storage/libstorage/src/Storage.cc trunk/storage/package/yast2-storage.changes Modified: trunk/storage/data/sysconfig.storage URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/data/sysconfig.storage?rev=41104&r1=41103&r2=41104&view=diff ============================================================================== --- trunk/storage/data/sysconfig.storage (original) +++ trunk/storage/data/sysconfig.storage Wed Sep 26 12:01:27 2007 @@ -7,3 +7,7 @@ ## Type: string # List of used filesystem types. USED_FS_LIST="" + +## Type: string(id,path,device,uuid,label) +# List of possible default mount-by methods +DEVICE_NAMES="id" Modified: trunk/storage/libstorage/src/Storage.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc?rev=41104&r1=41103&r2=41104&view=diff ============================================================================== --- trunk/storage/libstorage/src/Storage.cc (original) +++ trunk/storage/libstorage/src/Storage.cc Wed Sep 26 12:01:27 2007 @@ -166,6 +166,12 @@ setDefaultMountBy( MOUNTBY_ID ); else if( val == "path" ) setDefaultMountBy( MOUNTBY_PATH ); + else if( val == "device" ) + setDefaultMountBy( MOUNTBY_DEVICE ); + else if( val == "uuid" ) + setDefaultMountBy( MOUNTBY_UUID ); + else if( val == "label" ) + setDefaultMountBy( MOUNTBY_LABEL ); } } } Modified: trunk/storage/package/yast2-storage.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/package/yast2-storage.changes?rev=41104&r1=41103&r2=41104&view=diff ============================================================================== --- trunk/storage/package/yast2-storage.changes (original) +++ trunk/storage/package/yast2-storage.changes Wed Sep 26 12:01:27 2007 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Sep 26 12:00:06 CEST 2007 - fehr@suse.de + +- allow also device, uuid and label as default mount-by in + /etc/sysconfig/storage +- version 2.16.0 + +------------------------------------------------------------------- Mon Sep 24 13:00:18 CEST 2007 - fehr@suse.de - prevent crash with invalid dmraid data (#327342) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
fehr@svn.opensuse.org