From owner-freebsd-current Wed May 20 19:59:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA28906 for freebsd-current-outgoing; Wed, 20 May 1998 19:59:39 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from m2.findmail.com (m2.findmail.com [209.185.96.135]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA28844 for ; Wed, 20 May 1998 19:59:17 -0700 (PDT) (envelope-from brianfeldman@hotmail.com) Received: (qmail 29091 invoked by uid 505); 21 May 1998 02:57:27 -0000 Date: 21 May 1998 02:57:27 -0000 Message-ID: <19980521025727.29087.qmail@m2.findmail.com> From: "Brian Feldman" Subject: Re: What do you think about this addition to rc{. In-Reply-To: <22610.895711846@time.cdrom.com> To: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay, Mike is right, I _should_ be able to put size in M, but I'm gonna have to dig through disktab and try things, because I really don't know the geometries offhand; but if you might want to provide a solution? And to Jordan: mind telling me how to actually write a correct mfs entry in fstab? If you get one to work, I'd sure like to know. Brian Feldman P.S. Come on now, if clear_tmp_enable is in rc(5), and it mentions mfs in rc(5), think about it now... > Uh... Why not just add a single line to /etc/fstab which does the > same thing? To say that this solution is unbelievably baroque and > unnecessary would be charitable. :-) > > - Jordan > > > The purpouse of these two additions is to add the ability to configure the > > system automatically to use MFS as the /tmp file system. This makes sense > > after reading the white paper on MFS, and its use as a /tmp filesystem, > > and looking at rc(5) which already had a tmp clearing function. It seemed > > obvious to add the following: > > > > to rc: > > if [ "X${mfs_tmp_enable}" = X"YES" ]; then > > if [ X${mfs_tmp_type} != X ]; then > > mount_mfs -T ${mfs_tmp_type} mfs /tmp > > else > > echo "disktab(5)-compliant mfs type not given for /tmp" > > fi > > fi > > > > to rc.conf: > > mfs_tmp_enable="NO" # mount an mfs for /tmp > > mfs_tmp_type="" # disktab(5) type for /tmp > > > > Comments? Should we merge this, or is it useful to only myself? > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > =-= > > my->name = "Brian Feldman"; > > my->email[0] = "brianfeldman@hotmail.com"; > > my->email[1] = "green@feldman.dyn.ml.org"; > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > =-= > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message