Skip to content

Commit

Permalink
Fix man page for the sync property
Browse files Browse the repository at this point in the history
The help output of for zfs set/get says that sync can be one of

  standard | always | disabled

but the man pages claim it can be

  sync=default | always | disabled

the accepted value is standard, this changes the manpage to give the
correct values.

Signed-off-by: Steven Burgess <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #1634
  • Loading branch information
Steven Burgess authored and behlendorf committed Aug 7, 2013
1 parent e43b290 commit e0fd278
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions man/man8/zfs.8
Original file line number Diff line number Diff line change
Expand Up @@ -1119,12 +1119,12 @@ Controls whether the \fB\&.zfs\fR directory is hidden or visible in the root of
.ne 2
.mk
.na
\fB\fBsync\fR=\fBdefault\fR | \fBalways\fR | \fBdisabled\fR\fR
\fB\fBsync\fR=\fBstandard\fR | \fBalways\fR | \fBdisabled\fR\fR
.ad
.sp .6
.RS 4n
Controls the behavior of synchronous requests (e.g. fsync, O_DSYNC).
\fBdefault\fR is the POSIX specified behavior of ensuring all synchronous
\fBstandard\fR is the POSIX specified behavior of ensuring all synchronous
requests are written to stable storage and all devices are flushed to ensure
data is not cached by device controllers (this is the default). \fBalways\fR
causes every file system transaction to be written and flushed before its
Expand Down

0 comments on commit e0fd278

Please sign in to comment.