mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Change default xattr access method to 'openxattr' for macOS builds.
The namespaced way of accessing extended attributes doesn't make sense in macOS which doesn't use namespaces.
This commit is contained in:
parent
1511a5ca51
commit
903db231ec
@ -427,7 +427,14 @@ char *parse_mount_options(ntfs_fuse_context_t *ctx,
|
||||
}
|
||||
break;
|
||||
case OPT_USER_XATTR :
|
||||
#if defined(__APPLE__) || defined(__DARWIN__)
|
||||
/* macOS builds use non-namespaced extended
|
||||
* attributes by default since it matches the
|
||||
* standard behaviour of macOS filesystems. */
|
||||
ctx->streams = NF_STREAMS_INTERFACE_OPENXATTR;
|
||||
#else
|
||||
ctx->streams = NF_STREAMS_INTERFACE_XATTR;
|
||||
#endif
|
||||
break;
|
||||
case OPT_NOAUTO :
|
||||
/* Don't pass noauto option to fuse. */
|
||||
|
Loading…
Reference in New Issue
Block a user