Author: locilka Date: Thu Apr 16 11:45:36 2009 New Revision: 56801 URL: http://svn.opensuse.org/viewcvs/yast?rev=56801&view=rev Log: - Mounting /var partition automatically if a device is not created by Kernel (bnc #494240). Modified: trunk/update/package/yast2-update.changes trunk/update/src/modules/RootPart.ycp Modified: trunk/update/package/yast2-update.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/package/yast2-update.changes?rev=56801&r1=56800&r2=56801&view=diff ============================================================================== --- trunk/update/package/yast2-update.changes (original) +++ trunk/update/package/yast2-update.changes Thu Apr 16 11:45:36 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). + +------------------------------------------------------------------- Tue Mar 31 15:18:39 CEST 2009 - locilka@suse.cz - Cleanup in RootPart module. Modified: trunk/update/src/modules/RootPart.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/src/modules/RootPart.ycp?rev=56801&r1=56800&r2=56801&view=diff ============================================================================== --- trunk/update/src/modules/RootPart.ycp (original) +++ trunk/update/src/modules/RootPart.ycp Thu Apr 16 11:45:36 2009 @@ -1287,8 +1287,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