Author: locilka Date: Thu Apr 16 11:45:26 2009 New Revision: 56800 URL: http://svn.opensuse.org/viewcvs/yast?rev=56800&view=rev Log: - Mounting /var partition automatically if a device is not created by Kernel (bnc #494240). Modified: branches/tmp/SLE-11-SP1-Stash/update/package/yast2-update.changes branches/tmp/SLE-11-SP1-Stash/update/src/modules/RootPart.ycp Modified: branches/tmp/SLE-11-SP1-Stash/update/package/yast2-update.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/SLE-11-SP1-Stash/update/package/yast2-update.changes?rev=56800&r1=56799&r2=56800&view=diff ============================================================================== --- branches/tmp/SLE-11-SP1-Stash/update/package/yast2-update.changes (original) +++ branches/tmp/SLE-11-SP1-Stash/update/package/yast2-update.changes Thu Apr 16 11:45:26 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Apr 16 11:42:32 CEST 2009 - locilka@suse.cz + +- Mounting /var partition automatically if a device is not created + by Kernel (bnc #494240). + +------------------------------------------------------------------- Mon Jan 19 16:17:31 CET 2009 - locilka@suse.cz - Added possibility to manually choose a /var partition if YaST Modified: branches/tmp/SLE-11-SP1-Stash/update/src/modules/RootPart.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/SLE-11-SP1-Stash/update/src/modules/RootPart.ycp?rev=56800&r1=56799&r2=56800&view=diff ============================================================================== --- branches/tmp/SLE-11-SP1-Stash/update/src/modules/RootPart.ycp (original) +++ branches/tmp/SLE-11-SP1-Stash/update/src/modules/RootPart.ycp Thu Apr 16 11:45:26 2009 @@ -1301,8 +1301,16 @@ return nil; } - if (!Storage::DeviceRealDisk (var_device_fstab)) + if (!Storage::DeviceRealDisk (var_device_fstab)) { + y2milestone ("Device %1 is not a real disk, mounting...", var_device_fstab); return MountVarPartition (var_device_fstab); + } + + // BNC #494240: If a device name is not created by Kernel, we can use it for upgrade + if (!Storage::IsKernelDeviceName (var_device_fstab)) { + y2milestone ("Device %1 is not a Kernel device name, mounting...", var_device_fstab); + return MountVarPartition (var_device_fstab); + } list <map> tmp1 = filter (map entry, fstab, ``(entry["file"]:"" == "/")); string root_device_fstab = tmp1[0,"spec"]:""; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org