[yast-commit] r44266 - in /trunk/yast2: library/control/src/InstExtensionImage.ycp package/yast2.changes
Author: locilka Date: Fri Feb 8 10:41:48 2008 New Revision: 44266 URL: http://svn.opensuse.org/viewcvs/yast?rev=44266&view=rev Log: - Umounts performed by InstExtensionImage use -f -l -d (force, lazy, free the used loop device as well). Thx to Martin Modified: trunk/yast2/library/control/src/InstExtensionImage.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/library/control/src/InstExtensionImage.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/control/src/InstExtensionImage.ycp?rev=44266&r1=44265&r2=44266&view=diff ============================================================================== --- trunk/yast2/library/control/src/InstExtensionImage.ycp (original) +++ trunk/yast2/library/control/src/InstExtensionImage.ycp Fri Feb 8 10:41:48 2008 @@ -445,8 +445,12 @@ if (haskey (extensions_mounted_as, extension) && extensions_mounted_as[extension]:"" != "") { string cmd_tmp_file = sformat ("%1/IEI_cmd_tmp_file", Directory::tmpdir); string mounted_as = extensions_mounted_as[extension]:""; + // -f Force unmount (in case of an unreachable NFS system). + // -l Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and + // cleanup all references to the filesystem as soon as it is not busy anymore. + // -d In case the unmounted device was a loop device, also free this loop device. string cmd = sformat ( - "echo > '%1'; /bin/umount -f '%2' 1>>%2 2>>%2", + "echo > '%1'; /bin/umount -f -l -d '%2' 1>>%2 2>>%2", String::Quote (cmd_tmp_file), String::Quote (mounted_as) ); y2milestone ("Umounting %1", mounted_as); Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=44266&r1=44265&r2=44266&view=diff ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Fri Feb 8 10:41:48 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Feb 8 10:40:25 CET 2008 - locilka@suse.cz + +- Umounts performed by InstExtensionImage use -f -l -d (force, + lazy, free the used loop device as well). + +------------------------------------------------------------------- Thu Feb 7 15:50:24 CET 2008 - locilka@suse.cz - Module InstExtensionImage moved here from installation. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org