Skip to content

Commit

Permalink
change: support the "user." extended attribute namespace by default o…
Browse files Browse the repository at this point in the history
…n Linux
  • Loading branch information
szaka committed Feb 11, 2009
1 parent 29381f0 commit a682c36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ntfs-3g.8.in
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,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 on Linux, \fBnone\fR on other OSes.
.TP
.B force
This mount option is not used anymore. It was superseded by the
Expand Down
4 changes: 4 additions & 0 deletions src/ntfs-3g.c
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,11 @@ static int ntfs_fuse_init(void)
*ctx = (ntfs_fuse_context_t) {
.uid = getuid(),
.gid = getgid(),
#if defined(linux)
.streams = NF_STREAMS_INTERFACE_XATTR,
#else
.streams = NF_STREAMS_INTERFACE_NONE,
#endif
.atime = ATIME_RELATIVE,
.silent = TRUE,
.recover = TRUE
Expand Down

0 comments on commit a682c36

Please sign in to comment.