Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2009 16:43:26 GMT
From:      Michael Jung <mikej@paymentallianceintl.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/135710: mount -t tmpfs does not follow 'size' option
Message-ID:  <200906181643.n5IGhQOE057167@www.freebsd.org>
Resent-Message-ID: <200906181650.n5IGo24q064423@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135710
>Category:       misc
>Synopsis:       mount -t tmpfs does not follow 'size' option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 18 16:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Michael Jung
>Release:        current
>Organization:
>Environment:
FreeBSD charon.confluentasp.com 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Wed Jun 17 13:02:05 EDT 2009     mikej@charon.confluentasp.com:/usr/obj/usr/src/sys/CHARON  i386

>Description:
mount -o size=6442450944 -t tmpfs tmpfs /mnt

This should create a 6GB file system, but instead I get 

tmpfs                      2097152          4   2097148     0%    /mnt

mount -o size=5368709120 -t tmpfs tmpfs /mnt
should create a 5GB file system but instead I get

tmpfs                      1.0G    4.0K    1.0G     0%    /mnt

Additionally size will accept alpha character without complaining.
>How-To-Repeat:
use above commands
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906181643.n5IGhQOE057167>