diff options
| author | Daniel Dickinson | 2016-05-22 09:30:38 +0000 |
|---|---|---|
| committer | John Crispin | 2016-05-19 05:47:57 +0000 |
| commit | 0453f48e509077c83129b8aaceecb4e4430c8309 (patch) | |
| tree | b3da40c970c6af66fe91f25b81818fa424e8b89c | |
| parent | bfd81bcedca6acae8951a4dbcd4f45933e5f0473 (diff) | |
| download | fstools-0453f48e509077c83129b8aaceecb4e4430c8309.tar.gz | |
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 <lede@daniel.thecshore.com>
| -rw-r--r-- | block.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |