http://bugzilla.novell.com/show_bug.cgi?id=555288 Summary: optimizing installation startup speed Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: cyberorg@opensuse.org QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 Just before the installation starts: /usr/share/YaST2/clients/inst_prepareprogress.ycp runs: if (Mode::live_installation()) { string cmd = sformat ("du -x -B 1024 -s %1", "/"); y2milestone ("Executing %1", cmd); map out = (map)SCR::Execute (.target.bash_output, cmd); y2milestone ("Output: %1", out); string total_str = out["stdout"]:""; live_size = tointeger (total_str); if (live_size == 0) live_size = 1024*1024; // 1 GB is a good approximation } "du -x -B 1024 -s %1", "/" takes really long time, approximately 8 minutes on openSUSE Edu live DVD where the compressed size is 2.8G and normal size is about 8G. df should be used in place of du as it is much faster returning the size of / if that is all it requires. Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.