Inefficient archive unpacking
Nagy Gabor
ngaba at petra.hos.u-szeged.hu
Tue Apr 3 17:15:17 UTC 2007
Hi!
I think mc's method for unpacking archives is inefficient and
dangerous. First mc extracts every file to /tmp and then copies to the
target dir. The main problem: When /tmp is full, we won't get any error
message. So I think mc should directly extract selected files to the
target dir (since /tmp is small in many cases). Until this is not
implemented, at least the vfs scripts should be checked and fixed to
avoid this dangerous no-error-message state (I looked into uzip for
example: unzip extracts to pipe and that is ">"-ed to the
target /tmp/... file, so unzip cannot report error if /tmp is full.)
Bye, Nagy Gabor
More information about the mc
mailing list