From: utzoo!decvax!cca!sch@MITRE-BEDFORD@sri-unix Newsgroups: net.unix-wizards Title: System III file size limit (ulimit) Article-I.D.: sri-unix.2514 Posted: Fri Aug 6 20:40:19 1982 Received: Mon Aug 9 07:25:31 1982 Date: Mon Jul 19 08:51:15 1982 System III has a user file size quota, which is not supported by the shell. If you are creating a large file and wonder why it stops @ 2048 blocks, the answer is the user file size limit. This limit can be increased by super-user on a per process basis by the ulimit(2) sys call, but there is no shell command to do it. There are three ways to change it: A) Change CDLIMIT in /usr/include/sys/param.h if you want the system to permanantly handle large files. B) Incorporate ulimit() into your own programs. Can't just make a setuid program since processes inherit limit from parents. C) Add a ulimit command to the shell. This is relatively easy, just imitate the code for umask shell command. Ask me and I will send along the changes.