Red Hat Bugzilla – Bug 466278
move takes too long
Last modified: 2016-04-26 10:06:05 EDT
Description of problem:
After the appliance is built it is moved to the final location however if its a large image this can take a long time.
current implementation uses shutil.move which "Recursively move a file or directory to another location."
However if the destination is on our current filesystem, we can simply use rename.
Going to try with:
Created attachment 320194 [details]
fixed upstream waiting new build....
fixed problem with long move operations (#466278)
changed code to try to use rename first then shutil, if the file is on the same fs with be alot faster
also added support for using full path of name as final destination helps when scripting
appliance-tools-003-6.fc10 has been submitted as an update for Fedora 10.
appliance-tools-003.7-1.fc10 has been submitted as an update for Fedora 10.
appliance-tools-003.9-1.fc10 has been submitted as an update for Fedora 10.
appliance-tools-003.9-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.