Date: Tue, 3 Apr 2012 10:01:54 -0700 From: David Wolfskill <david@catwhisker.org> To: Gleb Kurtsou <gleb.kurtsou@gmail.com> Cc: Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: Using TMPFS for /tmp and /var/run? Message-ID: <20120403170154.GP1420@albert.catwhisker.org> In-Reply-To: <20120402103119.GA2389@reks> References: <4F746F1E.6090702@mail.zedat.fu-berlin.de> <20120329161452.GZ1709@albert.catwhisker.org> <4F74BCD5.4040609@zedat.fu-berlin.de> <20120402103119.GA2389@reks>
next in thread | previous in thread | raw e-mail | index | archive | help
--THYEXwetZJOK3OLY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 02, 2012 at 01:31:19PM +0300, Gleb Kurtsou wrote: > ... > You could try the patch attached. It adds support for size option suffixes > (like 1g) and introduces swap limit (part of the older patch, not sure > if it's any use). >=20 > Patch is against 10-CURRENT. > Older version: https://github.com/glk/freebsd-head/commit/3bd8f7d > ... After building: FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 233772M:= Mon Apr 2 05:42:48 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr/s= rc/sys/CANARY i386 with the referenced patch, I ran with it for the bulk of my daily activities on the laptop yesterday, then (this morning), I performed a source upgrade to: FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1 233835M:= Tue Apr 3 07:07:39 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr/s= rc/sys/CANARY i386 and nothing peculiar or unexpected happened at all. :-} As far as I can tell, the patch does no harm, and enables tmpfs size specifications to be more readily made and understood. Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --THYEXwetZJOK3OLY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk97LQIACgkQmprOCmdXAD3UuQCcCK6CbldcVBWLxiqbzAbiaSpq 4xsAnibG81aJVd79H5y7nY3Rj2zkfCN5 =EwSk -----END PGP SIGNATURE----- --THYEXwetZJOK3OLY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120403170154.GP1420>