From owner-freebsd-fs@FreeBSD.ORG Mon Jun 22 01:42:54 2009 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B410106566C for ; Mon, 22 Jun 2009 01:42:54 +0000 (UTC) (envelope-from nhoyle@hoyletech.com) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by mx1.freebsd.org (Postfix) with ESMTP id 35E188FC0A for ; Mon, 22 Jun 2009 01:42:53 +0000 (UTC) (envelope-from nhoyle@hoyletech.com) Received: from [192.168.1.10] (pool-96-231-140-65.washdc.fios.verizon.net [96.231.140.65]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0MKp8S-1MIYYK1112-000g8S; Sun, 21 Jun 2009 21:42:37 -0400 Message-ID: <4A3EE185.9040205@hoyletech.com> Date: Mon, 22 Jun 2009 01:42:29 +0000 From: Nathanael Hoyle User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: remko@FreeBSD.org References: <200906210945.n5L9jVOS009819@freefall.freebsd.org> In-Reply-To: <200906210945.n5L9jVOS009819@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/AM22FI3iviTgC4cvshlteL+u+LJWI4imv0W3 ge8EkJuwXi3mEVGIIIvnvo12Z+Ell3yLFsgqpJ/yiWPpSeahDS 8aGdW3To9bq01l8y91OoPYNTYFTFYci 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 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2009 01:42:54 -0000 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