From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 08:21:19 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 08E10FC9 for ; Sat, 13 Sep 2014 08:21:19 +0000 (UTC) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84186C58 for ; Sat, 13 Sep 2014 08:21:18 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id c11so2126837lbj.15 for ; Sat, 13 Sep 2014 01:21:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=djRA2muNRJpMgaSlNCR6hPRqrYhxkMZWBz+SxOp7HnU=; b=jSsIweWfrUp2amshROVgspmGOzDH6fyCaKr0AUV7VZdyKnrdOc0+Vm7Be6gBt1xWil v2X89d06mkYSXxloiaW8kD9sqg0Crr8vB8Wx8r9GhmZnXif9pqS+qGH2TXwhSqCVWVp/ j8naIgyVUZjhAUBxVfslTmIkPfqB5VW6p0Hbl3yaPmSZOIbiTJ/wO/1pAbE8s/YqsePy zamnFSmd5eXPHOmKsTNORfzhmdpOxCmRY4N7AX8NVOWWoeNbUgKC6FT4Uv4XxroRwvdf O+5XqOtenY2msWbgzY6BdQxsGCcIP/WH3/JtnmP4lg9wMOd+rgs5aKW8NNrl/H/UnvwT jyQQ== X-Received: by 10.112.198.34 with SMTP id iz2mr1645990lbc.96.1410596476513; Sat, 13 Sep 2014 01:21:16 -0700 (PDT) Received: from lazlar.no-ip.biz (213-64-218-92-no126.business.telia.com. [213.64.218.92]) by mx.google.com with ESMTPSA id pr7sm2121204lbc.18.2014.09.13.01.21.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Sep 2014 01:21:16 -0700 (PDT) Message-ID: <5413FE7B.7000908@gmail.com> Date: Sat, 13 Sep 2014 10:21:15 +0200 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: "William A. Mahaffey III" , "FreeBSD Questions !!!!" Subject: Re: tmpfs in /etc/fstab .... References: <5413C2DA.5040105@hiwaay.net> In-Reply-To: <5413C2DA.5040105@hiwaay.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 08:21:19 -0000 -----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-----