Date: 21 May 1998 03:07:20 -0000
From: "Brian Feldman" <brianfeldman@hotmail.com>
To: freebsd-current@FreeBSD.ORG
Subject: Re: What do you think about this addition to rc{.
Message-ID: <19980521030720.29504.qmail@m2.findmail.com>
In-Reply-To: <22610.895711846@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
RTFM :)
--> snip snip -->
tempt to unmount its corresponding file system. The parameters to
mount_mfs are the same as those to newfs. If the -T flag is specified
(see below), the special file is unused. Otherwise, it is only used to
read the disk label which provides a set of configuration parameters for
the memory based file system. The special file is typically that of the
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980521030720.29504.qmail>
