Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jul 1995 07:53:44 -0500
From:      "Eric L. Hernes" <erich@jake.lodgenet.com>
To:        clary@elec.uq.oz.au (Clary Harridge)
Cc:        freebsd-current@freebsd.org
Subject:   Re: netscape causing reboot of diskless clients 
Message-ID:  <199507051253.HAA24112@jake.lodgenet.com>
In-Reply-To: Your message of "Tue, 04 Jul 1995 12:41:07 %2B1000." <9507040230.AA06315@s1.elec.uq.edu.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > 
> >  1) a small mfs for /tmp/.X11-unix (if ram is plentiful)
> How do you do this? Via fstab or /etc/rc? What parameters?
> 

I have the following line in /etc/fstab

/dev/null /tmp mfs rw,-s4000,-Tfd360 0 0

This makes an mfs for all of /tmp, beware if you're gonna do any heavy 
compiling and/or make use of /tmp.  More correct would be to use 
/tmp/.X11-unix instead of /tmp for the mount point.  I can't remember if /tmp
gets rm -rf'ed on bootup, in which case you'll need to add something like

[ -d /tmp/.X11-unix ] || mkdir /tmp/.X11-unix

before the `mount -a' in /etc/rc

some people use <swap device> instead of /dev/null, if you do this, your
mfs is the same size as your swap partition, and you don't need the -Tfd360.
If you use /dev/null, you'll get warnings about calculated sectors per
cylinder etc, but it seems to work.


> 
> -- 
> regards			Dept. of Electrical Engineering,
> Clary Harridge		University of Queensland, QLD, Australia, 4072
> 			Phone: +61-7-365-3636	Fax:   +61-7-365-4999
> 			INTERNET: clary@elec.uq.edu.au
> 

eric.
--
erich@lodgenet.com
erich@rrnet.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507051253.HAA24112>