From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 18 16:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C89710656CC for ; Thu, 18 Jun 2009 16:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2CED58FC13 for ; Thu, 18 Jun 2009 16:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5IGo2BI064424 for ; Thu, 18 Jun 2009 16:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5IGo24q064423; Thu, 18 Jun 2009 16:50:02 GMT (envelope-from gnats) Resent-Date: Thu, 18 Jun 2009 16:50:02 GMT Resent-Message-Id: <200906181650.n5IGo24q064423@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Jung Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D2DF1065689 for ; Thu, 18 Jun 2009 16:43:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1BECF8FC1D for ; Thu, 18 Jun 2009 16:43:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5IGhQbQ057168 for ; Thu, 18 Jun 2009 16:43:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5IGhQOE057167; Thu, 18 Jun 2009 16:43:26 GMT (envelope-from nobody) Message-Id: <200906181643.n5IGhQOE057167@www.freebsd.org> Date: Thu, 18 Jun 2009 16:43:26 GMT From: Michael Jung To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/135710: mount -t tmpfs does not follow 'size' option X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 16:50:03 -0000 >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: