From owner-freebsd-hackers Mon Nov 17 22:22:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA24518 for hackers-outgoing; Mon, 17 Nov 1997 22:22:56 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA24507 for ; Mon, 17 Nov 1997 22:22:46 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id WAA12689; Mon, 17 Nov 1997 22:22:11 -0800 (PST) Message-ID: <19971117222210.05319@hydrogen.nike.efn.org> Date: Mon, 17 Nov 1997 22:22:10 -0800 From: John-Mark Gurney To: craig@ProGroup.COM Cc: hackers@FreeBSD.ORG Subject: Re: Partitioning suggestions? References: <199711180211.VAA18014@earth.mat.net> <34711F6E.BCCE8D9B@progroup.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <34711F6E.BCCE8D9B@progroup.com>; from Craig W. Shaver on Mon, Nov 17, 1997 at 08:54:06PM -0800 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Craig W. Shaver scribbled this message on Nov 17: [...] > The idea of using MFS mounted /tmp is appealing. How do you do that? > Is there some documentation on that? well.. I have this in my /etc/fstab: /dev/sd1b /tmp mfs rw,nosuid,-s=524288 0 0 but be careful... normally you can only have a 64meg mfs unless you increase the datasize limit to be larger than 64megs... I build my kernel with: options "MAXDSIZ=(512*1024*1024)" options "DFLDSIZ=(512*1024*1024)" so that I can have: Filesystem 1K-blocks Used Avail Capacity Mounted on mfs:26 254319 62731 171243 27% /tmp note that the -s option specifies the size of the fs in 512byte blocks... there is an option to have the mfs /tmp backed by a file (so if you reboot your machine, your /tmp contents are saved, not sure if this hurts performane or not) which helps prevents lose of data... -- John-Mark Gurney Modem/FAX: +1 541 683 6954 Cu Networking Live in Peace, destroy Micro$oft, support free software, run FreeBSD