Date: Mon, 22 Jun 2009 01:42:29 +0000 From: Nathanael Hoyle <nhoyle@hoyletech.com> To: remko@FreeBSD.org Cc: freebsd-fs@FreeBSD.org, mikej@paymentallianceintl.com, freebsd-bugs@FreeBSD.org Subject: Re: bin/135710: mount(8): mount -t tmpfs does not follow 'size' option Message-ID: <4A3EE185.9040205@hoyletech.com> In-Reply-To: <200906210945.n5L9jVOS009819@freefall.freebsd.org> References: <200906210945.n5L9jVOS009819@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
remko@FreeBSD.org wrote: > Synopsis: mount(8): mount -t tmpfs does not follow 'size' option > > Responsible-Changed-From-To: freebsd-bugs->freebsd-fs > Responsible-Changed-By: remko > Responsible-Changed-When: Sun Jun 21 09:45:21 UTC 2009 > Responsible-Changed-Why: > reassign to fs team > > http://www.freebsd.org/cgi/query-pr.cgi?pr=135710 > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > Quoting Peter Snyder in "tmpfs: A Virtual Memory File System", in which he details the design for Solaris tmpfs, which served as the foundation for NetBSD's tmpfs, which was in turn integrated into FreeBSD: "Instead of allocating a fixed amount of memory for exclusive use as a file system, tmpfs file system size is dynamic depending on use, allowing the system to decide the optimal use of memory." And from the FreeBSD tmpfs(5) man page, "*size* - maximum size (in bytes) for the file system", note the use of the word "maximum" versus say, "initial". I would attempt to actually populate/fill the created file system, and unless it returns as being full with less than the size specified worth of data, I believe the behavior observed is as intended. -Nathanael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A3EE185.9040205>