change: support the "user." extended attributes namespace by default on Linux

master
szaka 2009-01-22 01:01:04 +00:00
parent 8277f343c0
commit 8b4e66c23b
2 changed files with 6 additions and 2 deletions

View File

@ -167,7 +167,7 @@ to, one of \fBnone\fR, \fBwindows\fR or \fBxattr\fR. If the option is set to
to \fBwindows\fR, then the user can access them just like in Windows (eg. cat
file:stream). If it's set to \fBxattr\fR, then the named data streams are
mapped to xattrs and user can manipulate them using \fB{get,set}fattr\fR
utilities. The default is \fBnone\fR.
utilities. The default is \fBxattr\fR.
.TP
.B debug
Makes ntfs-3g to not detach from terminal and print a lot of debug output from

View File

@ -1678,7 +1678,11 @@ static int ntfs_fuse_init(void)
*ctx = (ntfs_fuse_context_t) {
.uid = getuid(),
.gid = getgid(),
.streams = NF_STREAMS_INTERFACE_NONE,
#if defined(linux)
.streams = NF_STREAMS_INTERFACE_XATTR,
#else
.streams = NF_STREAMS_INTERFACE_NONE,
#endif
};
return 0;
}