Printer accounting and cutoff from UNIX: is it possible?

Guy Harris guy at auspex.auspex.com
Sun Mar 4 06:57:19 AEST 1990


>>BTW: Why does UNIX have a cutoff for disk usage (quota) but not for 
>>printer usage?
>
>Because the system won't crash if the printer runs out of paper,
>but it will if it runs out of swap space!

First of all, not all UNIX systems "crash" if they run out of swap
space.  The program that's trying to, say, increase its data space may
get a "no can do" from "sbrk()" and have "malloc()" return NULL, but
that's a different matter. 

Second of all, the disk space usage he was referring to was for *files*,
not for *swap space*.  Most UNIX systems don't "crash" if they run out
of disk space for files, either....



More information about the Comp.unix.questions mailing list