Full Disk?

Ryan Schmidt ryandesign at macports.org
Mon Feb 1 15:34:12 PST 2016


On Feb 1, 2016, at 5:10 PM, Jean-François Caron wrote:

> Hi, we’re telling our Mac-owning students to use MacPorts in a university course that uses python, and we’ve had a weird issue.
> 
> One student’s hard drive was full, but instead of giving a useful error message, MacPorts just downloads as much as it can, then cancels and tries to download from another mirror.  Of course the other mirror’s packages are just as big, so it keeps doing this about 10 times before giving up.  Could MacPorts please instead give a “no free space” error in this case, or something more useful than trying to download from .za?

That sounds like a useful suggestion.

You're talking specifically about the case where a file is being downloaded via libcurl, and libcurl presumably gives us a disk-full error code that we're not handling specifically. But there are of course many other situations in which the disk could become full. I doubt MacPorts currently handles any of those situations any better.

Probably our recommendation at this time is: do not let your disk get more than 90% full. OS X already has dialog boxes that warn you when your disk is very full; don't ignore them.




More information about the macports-users mailing list