• Andrew Morton's avatar
    [PATCH] hugetlbfs: mount options and permissions · 07b71f8c
    Andrew Morton authored
    From: "Seth, Rohit" <rohit.seth@intel.com>
    
    This patch enables system administrators to more flexibly assign read/write
    permissions to files in hugetlbfs.  Mount options are added which will
    specify the uid, gid and mode of the filesystem's root directory.
    
    This patch also enables super users to do chown/chgrp on files in hugetlbfs.
    
    Also included in this patch is the support for uid, gid and mode command line
    options for mount command for hugetlbfs.
    
    The following mount options are added to hugetlbfs:
    
    	uid=value gid=value mode=value
    
    The values may be specified in hex (0xNNN), decimal or octal (0NNN).
    07b71f8c
inode.c 14.4 KB