Using TMPFS for /tmp and /var/run?
David Wolfskill
david at catwhisker.org
Tue Apr 3 17:01:55 UTC 2012
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).
>
> 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 at g1-227.catwhisker.org:/usr/obj/usr/src/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 at g1-227.catwhisker.org:/usr/obj/usr/src/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
--
David H. Wolfskill david at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120403/b2752722/attachment.pgp
More information about the freebsd-current
mailing list