From: Daniel Dickinson Date: Sun, 22 May 2016 09:30:38 +0000 (-0400) Subject: block.c: Add ability to mount with ACL and XATTR support X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffstools.git;a=commitdiff_plain;h=0453f48e509077c83129b8aaceecb4e4430c8309 block.c: Add ability to mount with ACL and XATTR support Some users will want to use OpenWrt/LEDE devices as NAS devices and have full POSIX ACL and user_xattr support (along with other possible use cases), therefore add support to mount with POSIX ACLs and/or user XATTR support. Signed-off-by: Daniel Dickinson --- diff --git a/block.c b/block.c index 397db0f..13992f2 100644 --- a/block.c +++ b/block.c @@ -170,6 +170,10 @@ static const struct mount_flag mount_flags[] = { { "relatime", MS_RELATIME }, { "norelatime", ~MS_RELATIME }, { "strictatime", MS_STRICTATIME }, + { "acl", MS_POSIXACL }, + { "noacl", ~MS_POSIXACL }, + { "nouser_xattr", MS_NOUSER }, + { "user_xattr", ~MS_NOUSER }, }; static char *blobmsg_get_strdup(struct blob_attr *attr)