Skip to content

Commit

Permalink
man: ... -> … again
Browse files Browse the repository at this point in the history
zfs-program.8 is left, but that's literal Lua syntax

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13255
  • Loading branch information
nabijaczleweli authored and behlendorf committed Apr 20, 2022
1 parent b1fb4e1 commit e37e7dd
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 26 deletions.
15 changes: 9 additions & 6 deletions man/man7/zfsprops.7
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ privilege with
can access everyone's usage.
.Pp
The
.Sy userused Ns @ Ns Ar ...
.Sy userused Ns @ Ns Ar
properties are not displayed by
.Nm zfs Cm get Sy all .
The user's name must be appended after the
Expand Down Expand Up @@ -872,14 +872,17 @@ This is done using
.Sy zstd-fast- Ns Ar N ,
where
.Ar N
is an integer in [1-9,10,20,30,...,100,500,1000] which maps to a negative
is an integer in
.Bq Sy 1 Ns - Ns Sy 10 , 20 , 30 , No , Sy 100 , 500 , 1000
which maps to a negative
.Sy zstd
level.
The lower the level the faster the compression -
.Ar 1000 No provides the fastest compression and lowest compression ratio.
The lower the level the faster the compression \(em
.Sy 1000
provides the fastest compression and lowest compression ratio.
.Sy zstd-fast
is equivalent to
.Sy zstd-fast-1 .
.Sy zstd-fast- Ns Ar 1 .
.Pp
The
.Sy zle
Expand Down Expand Up @@ -1315,7 +1318,7 @@ can get and set everyone's quota.
This property is not available on volumes, on file systems before version 4, or
on pools before version 15.
The
.Sy userquota@ Ns Ar ...
.Sy userquota@ Ns Ar
properties are not displayed by
.Nm zfs Cm get Sy all .
The user's name must be appended after the
Expand Down
2 changes: 1 addition & 1 deletion man/man8/zed.8.in
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Custom
.Ev $PATH
for zedlets to use.
Normally zedlets run in a locked-down environment, with hardcoded paths to the ZFS commands
.Pq Ev $ZFS , $ZPOOL , $ZED , ... ,
.Pq Ev $ZFS , $ZPOOL , $ZED , ,
and a hard-coded
.Ev $PATH .
This is done for security reasons.
Expand Down
24 changes: 12 additions & 12 deletions man/man8/zfs-allow.8
Original file line number Diff line number Diff line change
Expand Up @@ -215,19 +215,19 @@ send subcommand
share subcommand Allows sharing file systems over NFS or SMB protocols
snapshot subcommand Must also have the \fBmount\fR ability

groupquota other Allows accessing any \fBgroupquota@\fI...\fR property
groupobjquota other Allows accessing any \fBgroupobjquota@\fI...\fR property
groupused other Allows reading any \fBgroupused@\fI...\fR property
groupobjused other Allows reading any \fBgroupobjused@\fI...\fR property
groupquota other Allows accessing any \fBgroupquota@\fI\fR property
groupobjquota other Allows accessing any \fBgroupobjquota@\fI\fR property
groupused other Allows reading any \fBgroupused@\fI\fR property
groupobjused other Allows reading any \fBgroupobjused@\fI\fR property
userprop other Allows changing any user property
userquota other Allows accessing any \fBuserquota@\fI...\fR property
userobjquota other Allows accessing any \fBuserobjquota@\fI...\fR property
userused other Allows reading any \fBuserused@\fI...\fR property
userobjused other Allows reading any \fBuserobjused@\fI...\fR property
projectobjquota other Allows accessing any \fBprojectobjquota@\fI...\fR property
projectquota other Allows accessing any \fBprojectquota@\fI...\fR property
projectobjused other Allows reading any \fBprojectobjused@\fI...\fR property
projectused other Allows reading any \fBprojectused@\fI...\fR property
userquota other Allows accessing any \fBuserquota@\fI\fR property
userobjquota other Allows accessing any \fBuserobjquota@\fI\fR property
userused other Allows reading any \fBuserused@\fI\fR property
userobjused other Allows reading any \fBuserobjused@\fI\fR property
projectobjquota other Allows accessing any \fBprojectobjquota@\fI\fR property
projectquota other Allows accessing any \fBprojectquota@\fI\fR property
projectobjused other Allows reading any \fBprojectobjused@\fI\fR property
projectused other Allows reading any \fBprojectused@\fI\fR property

aclinherit property
aclmode property
Expand Down
9 changes: 5 additions & 4 deletions man/man8/zfs-program.8
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,17 @@ argv = args["argv"]
-- argv == {1="arg1", 2="arg2", ...}
.Ed
.Pp
If invoked from the libZFS interface, an arbitrary argument list can be
If invoked from the libzfs interface, an arbitrary argument list can be
passed to the channel program, which is accessible via the same
"..." syntax in Lua:
.Qq Li ...
syntax in Lua:
.Bd -literal -compact -offset indent
args = ...
-- args == {"foo"="bar", "baz"={...}, ...}
.Ed
.Pp
Note that because Lua arrays are 1-indexed, arrays passed to Lua from the
libZFS interface will have their indices incremented by 1.
libzfs interface will have their indices incremented by 1.
That is, the element
in
.Va arr[0]
Expand Down Expand Up @@ -166,7 +167,7 @@ See the
section below for function-specific details on error return codes.
.
.Ss Lua to C Value Conversion
When invoking a channel program via the libZFS interface, it is necessary to
When invoking a channel program via the libzfs interface, it is necessary to
translate arguments and return values from Lua values to their C equivalents,
and vice-versa.
.Pp
Expand Down
6 changes: 3 additions & 3 deletions man/man8/zfs-send.8
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
.Nm zfs
.Cm send
.Op Fl DLPRbcehnpsvw
.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns ...
.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
.Ar snapshot
.Nm zfs
Expand Down Expand Up @@ -74,7 +74,7 @@
.Nm zfs
.Cm send
.Op Fl DLPRbcehnpvw
.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns ...
.Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
.Ar snapshot
.Xc
Expand Down Expand Up @@ -142,7 +142,7 @@ If the
flag is used to send encrypted datasets, then
.Fl w
must also be specified.
.It Fl X , -exclude Ar dataset Ns Oo , Ns Ar dataset Oc Ns ...
.It Fl X , -exclude Ar dataset Ns Oo , Ns Ar dataset Oc Ns
When the
.Fl R
flag is given,
Expand Down

0 comments on commit e37e7dd

Please sign in to comment.