Date: Mon, 18 Dec 2006 08:42:21 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: Doug Barton <dougb@FreeBSD.org> Cc: FreeBSD stable <freebsd-stable@FreeBSD.org> Subject: Re: tmpmfs="YES" and going from single user to multi user mode Message-ID: <20061218084117.V88614@ramstind.fig.ol.no> In-Reply-To: <4585B13F.9060109@FreeBSD.org> References: <20061217100614.R47398@ramstind.fig.ol.no> <4585B13F.9060109@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-628390267-1166427741=:88614 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Sun, 17 Dec 2006 13:06-0800, Doug Barton wrote: > We look forward to your patches to implement that suggestion. You > might want to ask on the freebsd-rc@ list if you need help. How about this patch? *** /etc/rc.d/tmp Sun May 7 06:00:26 2006 --- tmp Mon Dec 18 08:40:40 2006 *************** *** 42,49 **** # case "${tmpmfs}" in [Yy][Ee][Ss]) ! mount_md ${tmpsize} /tmp "${tmpmfs_flags}" ! chmod 01777 /tmp ;; [Nn][Oo]) ;; --- 42,54 ---- # case "${tmpmfs}" in [Yy][Ee][Ss]) ! if [ -n "`mount | grep '/tmp' | grep '^/dev/md'`" ]; then ! echo "*** /tmp is already mounted as a MFS." ! echo "*** No need to mount yet another MFS." ! else ! mount_md ${tmpsize} /tmp "${tmpmfs_flags}" ! chmod 01777 /tmp ! fi ;; [Nn][Oo]) ;; -- ---------------------------------------------------------------------- Trond Endrestøl | trond@fagskolen.gjovik.no Patron of The Art of Computer Programming| FreeBSD 6.1-S & Pine 4.64 --0-628390267-1166427741=:88614--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061218084117.V88614>