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
Responsible Changed From-To: freebsd-bugs->freebsd-fs reassign to fs team
State Changed From-To: open->closed Nathanael gave a pretty good explaination which I follow; the behaviour is intended.
So, what exactly is one to do to set the size to a specific amount? Or = is it automatic? I cannot find ANY information on this (the size of = tmpfs). Nick Hibma AnyWi Technologies
Nick Hibma <nick@anywi.com> wrote: > So, what exactly is one to do to set the size to a specific amount? > Or is it automatic? I cannot find ANY information on this (the size > of tmpfs). Did you read Nathanael's reply? I think it explains it all: http://lists.freebsd.org/pipermail/freebsd-fs/2009-June/006368.html Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "... there are two ways of constructing a software design: One way is to make it so simple that there are _obviously_ no deficiencies and the other way is to make it so complicated that there are no _obvious_ deficiencies." -- C.A.R. Hoare, ACM Turing Award Lecture, 1980