Thanks to about a hundred people, Sorry I'm not going to list that many names. :-) Many suggested I look at the man page for tmpfs, which I did, but was pretty useless. Each file system type has a manpage for mount options. For tmpfs, the man page is mount_tmpfs. -o size=sz The sz argument controls the size of this particular tmpfs file system. If the argument is has a `k' suf- fix, the number will be interpreted as a number of kilobytes. An `m' suffix will be interpreted as a number of megabytes. No suffix is interpreted as bytes. In all cases, the actual size of the file sys- tem is the number of bytes specified, rounded up to the physical pagesize of the system. Whenever you use vfstab to specify options, you drop the '-o' part. Adding a line that says size=1024m doesn't do anything for me. What I really needed was... swap - /tmp tmpfs - yes size=1024m With me at least, an example is worth a thousand man pages. Thanks again to everyone who replied. Ray -----Original Message----- From: McCaffity, Ray [mailto:ray.mccaffity@wcg.com] Sent: Wednesday, September 26, 2001 3:41 PM To: sunmanagers@sunmanagers.org Subject: limiting /tmp space I've done this before, but I can't remember the syntax in /etc/vfstab. If I have a swap partition of 4gig, how can I limit /tmp to only use 1gig of it. Ray _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Sep 27 11:58:47 2001
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:26 EST