[pca] Patches to Big for /tmp
Martin Paul
martin at par.univie.ac.at
Wed May 14 12:15:47 CEST 2008
Jan Holzhueter wrote:
> Martin Paul wrote:
>> Does unzip really hang? I assumed it would stop with some message like
>> "no space left on device". pca would then remove the partly installed
>> patch, show a message and continue with the next one.
>>
> It does hang. And no message is posted. It's a Solaris 10 U5
I reproduced the error now. When unzip notices that no free disk space
is left, it asks the user what to do and that's why it hung. I've fixed
that in pca now - it will show an error in this situation, fail this
patch and go on with the next one.
> Check if unzip is still running say like aber 5 minutes or somthing.
> If it is check free space in /tmp if it's full error out.
That's even uglier than what I had in mind :)
I think it's really the sub-process' (unzip) job to detect the error
condition, stop and report it back to the caller (pca) which then should
report extraction process to be failed. Any attempt to foresee such a
situation in the caller (pca) will be ugly.
Martin.
More information about the pca
mailing list