Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 10:21:15 +0200
From:      Rolf Nielsen <rmg1970swe@gmail.com>
To:        "William A. Mahaffey III" <wam@hiwaay.net>,  "FreeBSD Questions !!!!" <freebsd-questions@freebsd.org>
Subject:   Re: tmpfs in /etc/fstab ....
Message-ID:  <5413FE7B.7000908@gmail.com>
In-Reply-To: <5413C2DA.5040105@hiwaay.net>
References:  <5413C2DA.5040105@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-09-13 06:06, William A. Mahaffey III wrote:
> 
> 
> .... I would like to enable use of tmpfs on my FBSD 9.3 box for 
> performance. The box has 16 GB of both RAM & swap. I added 
> 'tmpfs_load="YES"' to my /boot/loader.conf, but I can't figure out
> what to put in /etc/fstab to allow the process to happen
> automatically upon reboot. Specifically, what is the device I
> should be using. The man page gives the mount command, which looks
> like the device is called 'tmpfs'. Is that correct ? Are there any
> issues w/ this procedure ? TIA ....
> 
> 


tmpfs	/tmp	tmpfs	rw,uid=0,gid=0,mode=1777,size=1073741824	0	0

should do it. Adjust the size parameter to your needs. It should be
specified in bytes.

Regards,
Rolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUE/57AAoJEB1OKfQ0M8TgSKkP/1O2ag8QAzjFOYUnawpB19Da
G8h1hBwv/xiZUYNsoU7dfutfXZizszNDTrIYx0e1ybKHl95ZNSC4NBX1nMHi76bp
+HdzrBsmFwzZOfyYOFfpRmRyUZSmijnUgYU9qqaKIYfk90uPpiVp06OAwQqSoYGZ
Mvvje+6zWjyEXNzcfSOoIBqHPrNWLq0CLxawCQkLFevF6m9LnOhhw84O2BJUdYCO
BTh7+0OzNG4izr3KoT78RDAq5WqxM1XUIKTHkNsk74qhiKKDfAWSmMQFs+nONL/W
PdlQVtANr1yU4by+0lsuohXQUm/xwEn87bKCdb4fQ/+xBJ6o2xy0nUrTZqKpDVWS
fn3/IPtfUrXPHHfRyQNiQpJchXhHlemFjssspuPd5mWCdkUD7RZWn4joT/gsKpxi
lVL1wtYBQXibksum00QSwM0I0xsiUmHZNyjLiTnBBQejcqsOvDaXPbapxu77iq+i
uRr/G4cyPhknSdB91UWE+aaO+AIpyrLYPhm1oNePL7GP58GNq/hsQQRoeqcJJaUL
Q+UWGb05V2VB64cUXFanQfDA+QgryeRtNBO2SGnT6Dxr7u28uvO9jesh7EbdZJ+l
u860cwevLAhXCgi8tyyriygX5VahSLAt7cJDOCaUYc88B+ZEQR1zbH9dZxE620K9
pfbbn2koiEaHvgWl8d9F
=e0fR
-----END PGP SIGNATURE-----



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