git: kernel - TMPFS - Parse tmpfs_args from mount()

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Feb 18 10:06:58 PST 2010


commit 29ffeb2816b19dccdc5f4a994e9255f69e2a589d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Feb 18 10:04:36 2010 -0800

    kernel - TMPFS - Parse tmpfs_args from mount()
    
    * Parse tmpfs_args from mount() to set max size and inodes.
    
    * Allow a fixed percentage of memory + swap to be used, do not attempt
      to calculate actual free memory + swap (because its impossible to do
      correctly).

Summary of changes:
 sys/vfs/tmpfs/tmpfs.h        |   69 +------------------------
 sys/vfs/tmpfs/tmpfs_subr.c   |   10 ++--
 sys/vfs/tmpfs/tmpfs_vfsops.c |  118 ++++++++++++++++--------------------------
 3 files changed, 51 insertions(+), 146 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/29ffeb2816b19dccdc5f4a994e9255f69e2a589d


-- 
DragonFly BSD source repository





More information about the Commits mailing list