[yast-commit] r57308 - in /trunk/storage/libstorage/src: Lock.cc Storage.cc

Author: aschnell Date: Mon May 25 15:50:52 2009 New Revision: 57308 URL: http://svn.opensuse.org/viewcvs/yast?rev=57308&view=rev Log: - rename env. vars Modified: trunk/storage/libstorage/src/Lock.cc trunk/storage/libstorage/src/Storage.cc Modified: trunk/storage/libstorage/src/Lock.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Lock.cc?re... ============================================================================== --- trunk/storage/libstorage/src/Lock.cc (original) +++ trunk/storage/libstorage/src/Lock.cc Mon May 25 15:50:52 2009 @@ -30,7 +30,7 @@ Lock::Lock(bool readonly, bool disable) - : disabled(disable || getenv("YAST2_STORAGE_NO_LOCKING") != NULL), + : disabled(disable || getenv("LIBSTORAGE_NO_LOCKING") != NULL), fd(-1) { if (disabled) Modified: trunk/storage/libstorage/src/Storage.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc... ============================================================================== --- trunk/storage/libstorage/src/Storage.cc (original) +++ trunk/storage/libstorage/src/Storage.cc Mon May 25 15:50:52 2009 @@ -367,7 +367,7 @@ addToList( new MdCo( this, file ) ); } } - else if (autodetect() && getenv("YAST2_STORAGE_NO_MD") == NULL) + else if (autodetect() && getenv("LIBSTORAGE_NO_MD") == NULL) { MdCo * v = new MdCo( this, true ); if( !v->isEmpty() ) @@ -387,7 +387,7 @@ addToList( new LoopCo( this, file ) ); } } - else if (autodetect() && getenv("YAST2_STORAGE_NO_LOOP") == NULL) + else if (autodetect() && getenv("LIBSTORAGE_NO_LOOP") == NULL) { LoopCo * v = new LoopCo( this, true, ppart ); if( !v->isEmpty() ) @@ -409,7 +409,7 @@ addToList( new NfsCo( this, file ) ); } } - else if (autodetect() && getenv("YAST2_STORAGE_NO_NFS") == NULL) + else if (autodetect() && getenv("LIBSTORAGE_NO_NFS") == NULL) { NfsCo * v = new NfsCo(this, fstab, mounts); if( !v->isEmpty() ) @@ -432,7 +432,7 @@ } globfree (&globbuf); } - else if (autodetect() && getenv("YAST2_STORAGE_NO_LVM") == NULL) + else if (autodetect() && getenv("LIBSTORAGE_NO_LVM") == NULL) { list<string> l; LvmVg::getVgs( l ); @@ -467,7 +467,7 @@ } globfree (&globbuf); } - else if (autodetect() && getenv("YAST2_STORAGE_NO_DMRAID") == NULL) + else if (autodetect() && getenv("LIBSTORAGE_NO_DMRAID") == NULL) { list<string> l; DmraidCo::getRaids(l); @@ -508,7 +508,7 @@ } globfree (&globbuf); } - else if (autodetect() && getenv("YAST2_STORAGE_NO_DMMULTIPATH") == NULL) + else if (autodetect() && getenv("LIBSTORAGE_NO_DMMULTIPATH") == NULL) { list<string> l; DmmultipathCo::getMultipaths(l); @@ -550,7 +550,7 @@ } globfree (&globbuf); } - else if (autodetect() && getenv("YAST2_STORAGE_NO_DM") == NULL) + else if (autodetect() && getenv("LIBSTORAGE_NO_DM") == NULL) { DmCo * v = new DmCo( this, true, ppart ); if( !v->isEmpty() ) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org