From owner-freebsd-current Wed May 20 17:40:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04800 for freebsd-current-outgoing; Wed, 20 May 1998 17:40:34 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04723 for ; Wed, 20 May 1998 17:40:12 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id QAA02621; Wed, 20 May 1998 16:31:00 -0700 (PDT) Message-Id: <199805202331.QAA02621@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Brian Feldman cc: freebsd-current@FreeBSD.ORG Subject: Re: What do you think about this addition to rc{.conf}(5)? In-reply-to: Your message of "Wed, 20 May 1998 18:23:37 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 20 May 1998 16:31:00 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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? It's OK, but "type" should be "size", where "size" is a value in megabytes. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message