mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-06-07 19:58:50 +00:00
doc: misc corrections and improvements
This commit is contained in:
parent
159c2c7625
commit
906769f1f7
2 changed files with 23 additions and 24 deletions
|
@ -161,7 +161,7 @@ If provided twice, do not print the suffix character after each value.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fR \fIchar\fR
|
\fB\-s\fR \fIchar\fR
|
||||||
The character separating each name and value.
|
The character separating each name and value.
|
||||||
Defaults to the ASCII LT character.
|
Defaults to the ASCII HT character.
|
||||||
.TP
|
.TP
|
||||||
\fB\-n\fR \fIchar\fR
|
\fB\-n\fR \fIchar\fR
|
||||||
The character suffixing each value.
|
The character suffixing each value.
|
||||||
|
|
|
@ -198,7 +198,7 @@ mount.bookmarkfs [@var{options}] @var{src} @var{target}
|
||||||
The bookmark storage, presumably the pathname of a regular file
|
The bookmark storage, presumably the pathname of a regular file
|
||||||
that contains bookmark data.
|
that contains bookmark data.
|
||||||
|
|
||||||
The exact interpretation of this option is backend-defined.
|
The exact interpretation of this argument is backend-defined.
|
||||||
|
|
||||||
@item target
|
@item target
|
||||||
Pathname of the directory to mount the filesystem.
|
Pathname of the directory to mount the filesystem.
|
||||||
|
@ -664,7 +664,7 @@ If provided twice, do not print the suffix character after each value.
|
||||||
|
|
||||||
@item -s @var{char}
|
@item -s @var{char}
|
||||||
The character separating each name and value.
|
The character separating each name and value.
|
||||||
Defaults to the ASCII LT character.
|
Defaults to the ASCII HT character.
|
||||||
|
|
||||||
@item -n @var{char}
|
@item -n @var{char}
|
||||||
The character suffixing each value.
|
The character suffixing each value.
|
||||||
|
@ -1036,7 +1036,7 @@ Otherwise, it returns @t{-1} and sets @code{errno}:
|
||||||
Write or search permission is denied for the directory.
|
Write or search permission is denied for the directory.
|
||||||
|
|
||||||
@item EINVAL
|
@item EINVAL
|
||||||
@code{op} is not one of the values defined in enum @code{bookmarkfs_permd_op}.
|
@code{op} is not one of the values defined in @code{enum bookmarkfs_permd_op}.
|
||||||
|
|
||||||
@item EINVAL
|
@item EINVAL
|
||||||
@code{name1} or @code{name2} is not a valid filename
|
@code{name1} or @code{name2} is not a valid filename
|
||||||
|
@ -1121,7 +1121,7 @@ Find the next bookmark with invalid name under the directory.
|
||||||
@anchor{Filesystem-Check Result Code}
|
@anchor{Filesystem-Check Result Code}
|
||||||
@cindex Filesystem-Check Result Code
|
@cindex Filesystem-Check Result Code
|
||||||
On success, @code{ioctl()} updates @var{argp}, and returns
|
On success, @code{ioctl()} updates @var{argp}, and returns
|
||||||
one of the values defined in enum @code{bookmarkfs_fsck_result}:
|
one of the values defined in @code{enum bookmarkfs_fsck_result}:
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@item BOOKMARKFS_FSCK_RESULT_END
|
@item BOOKMARKFS_FSCK_RESULT_END
|
||||||
|
@ -1167,7 +1167,7 @@ The @code{name} field should be set to the new name for the bookmark.
|
||||||
The @code{extra} field is unused.
|
The @code{extra} field is unused.
|
||||||
|
|
||||||
On success, @code{ioctl()} updates @var{argp}, and returns
|
On success, @code{ioctl()} updates @var{argp}, and returns
|
||||||
one of the values defined in enum @code{bookmarkfs_fsck_result},
|
one of the values defined in @code{enum bookmarkfs_fsck_result},
|
||||||
like with @code{BOOKMARKFS_IOC_FSCK_NEXT}.
|
like with @code{BOOKMARKFS_IOC_FSCK_NEXT}.
|
||||||
Additionally, it may also return:
|
Additionally, it may also return:
|
||||||
|
|
||||||
|
@ -1994,8 +1994,8 @@ Function arguments:
|
||||||
The pointer referring to the backend context.
|
The pointer referring to the backend context.
|
||||||
|
|
||||||
@item resp
|
@item resp
|
||||||
@xref{Backend-Create Response} for the definition of the
|
@xref{Backend-Create Response} for the definition of
|
||||||
@code{bookmarkfs_backend_create_resp} structure.
|
@code{struct bookmarkfs_backend_create_resp}.
|
||||||
|
|
||||||
Fields in this argument should be left as-is, except for:
|
Fields in this argument should be left as-is, except for:
|
||||||
|
|
||||||
|
@ -2251,8 +2251,8 @@ Position of the current entry, to be used for subsequent calls to
|
||||||
@item stat
|
@item stat
|
||||||
Attributes of the object entry.
|
Attributes of the object entry.
|
||||||
|
|
||||||
@xref{Bookmark Attributes} for the definition of the
|
@xref{Bookmark Attributes} for the definition of
|
||||||
@code{bookmarkfs_bookmark_stat} structure.
|
@code{struct bookmarkfs_bookmark_stat}.
|
||||||
|
|
||||||
If the @code{BOOKMARKFS_BOOKMARK_LIST_WITHSTAT} flag is @emph{not} given,
|
If the @code{BOOKMARKFS_BOOKMARK_LIST_WITHSTAT} flag is @emph{not} given,
|
||||||
the caller ignores @code{atime} and @code{mtime}, and only use @code{value_len}
|
the caller ignores @code{atime} and @code{mtime}, and only use @code{value_len}
|
||||||
|
@ -2466,7 +2466,7 @@ Cookie to be freed.
|
||||||
|
|
||||||
@item cookie_type
|
@item cookie_type
|
||||||
Type of the cookie.
|
Type of the cookie.
|
||||||
It must be one of the values defined in enum @code{bookmarkfs_cookie_type}:
|
It must be one of the values defined in @code{enum bookmarkfs_cookie_type}:
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@item BOOKMARKFS_COOKIE_TYPE_WATCH
|
@item BOOKMARKFS_COOKIE_TYPE_WATCH
|
||||||
|
@ -2637,8 +2637,8 @@ The value of @code{parent_id} is unspecified.
|
||||||
@item stat_buf
|
@item stat_buf
|
||||||
Attributes of the new object.
|
Attributes of the new object.
|
||||||
|
|
||||||
@xref{Bookmark Attributes} for the definition of the
|
@xref{Bookmark Attributes} for the definition of
|
||||||
@code{bookmarkfs_bookmark_stat} structure.
|
@code{struct bookmarkfs_bookmark_stat}.
|
||||||
|
|
||||||
Except for the @code{id} field, the initial content of this argument
|
Except for the @code{id} field, the initial content of this argument
|
||||||
is unspecified.
|
is unspecified.
|
||||||
|
@ -2961,8 +2961,8 @@ Always @code{NULL} if the filesystem is mounted read-only.
|
||||||
Otherwise, a non-@code{NULL} value indicates @code{BOOKMARKFS_IOC_FSCK_APPLY}.
|
Otherwise, a non-@code{NULL} value indicates @code{BOOKMARKFS_IOC_FSCK_APPLY}.
|
||||||
@xref{Repair Bookmark}.
|
@xref{Repair Bookmark}.
|
||||||
|
|
||||||
@xref{Filesystem-Check Data} for the definition of the
|
@xref{Filesystem-Check Data} for the definition of
|
||||||
@code{bookmarkfs_fsck_data} structure.
|
@code{struct bookmarkfs_fsck_data}.
|
||||||
|
|
||||||
Value of each field:
|
Value of each field:
|
||||||
|
|
||||||
|
@ -3049,15 +3049,14 @@ Must be equal to the @code{user_data} argument for the current
|
||||||
@code{bookmark_check} call.
|
@code{bookmark_check} call.
|
||||||
|
|
||||||
@item result
|
@item result
|
||||||
Should be one of the values defined in enum @code{bookmarkfs_fsck_result}
|
Should be one of the values defined in @code{enum bookmarkfs_fsck_result}
|
||||||
indicating why this name is invalid.
|
indicating why this name is invalid.
|
||||||
@xref{Filesystem-Check Result Code}.
|
@xref{Filesystem-Check Result Code}.
|
||||||
|
|
||||||
@item id
|
@item id
|
||||||
@itemx extra
|
@itemx extra
|
||||||
@itemx name
|
@itemx name
|
||||||
Equivalent to the corresponding fields in structure
|
Equivalent to the corresponding fields in @code{struct bookmarkfs_fsck_data}.
|
||||||
@code{bookmarkfs_fsck_data}.
|
|
||||||
@xref{Filesystem-Check Data}.
|
@xref{Filesystem-Check Data}.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
@ -3157,8 +3156,8 @@ Function arguments:
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@item conf
|
@item conf
|
||||||
@xref{Backend Configuration} for the definition of the
|
@xref{Backend Configuration} for the definition of
|
||||||
@code{bookmarkfs_backend_conf} structure.
|
@code{struct bookmarkfs_backend_conf}.
|
||||||
|
|
||||||
Some fields should be handled differently from @code{backend_create}:
|
Some fields should be handled differently from @code{backend_create}:
|
||||||
|
|
||||||
|
@ -3235,7 +3234,7 @@ Transliterate bad (@samp{/}) characters into @var{char}
|
||||||
Defaults to @samp{_}.
|
Defaults to @samp{_}.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
For each bookmark entry, the built-in handler prints a message
|
For each bookmark entry, the built-in handler prints a line
|
||||||
to standard output explaining why the bookmark name is invalid.
|
to standard output explaining why the bookmark name is invalid.
|
||||||
|
|
||||||
@anchor{Filesystem-Check Output Format}
|
@anchor{Filesystem-Check Output Format}
|
||||||
|
@ -3385,7 +3384,7 @@ The second element is a list of information about the current entry:
|
||||||
@enumerate 0
|
@enumerate 0
|
||||||
@item The bookmark ID
|
@item The bookmark ID
|
||||||
@item Extra information regarding the invalid name, equivalent to the
|
@item Extra information regarding the invalid name, equivalent to the
|
||||||
@code{extra} field in structure @code{bookmarkfs_fsck_data}.
|
@code{extra} field in @code{struct bookmarkfs_fsck_data}.
|
||||||
@item Name of the bookmark
|
@item Name of the bookmark
|
||||||
@item ID of the parent directory
|
@item ID of the parent directory
|
||||||
@end enumerate
|
@end enumerate
|
||||||
|
@ -3692,8 +3691,8 @@ struct bookmarkfs_fsck_handler_entry @{
|
||||||
ID of the bookmark folder that contains this bookmark entry.
|
ID of the bookmark folder that contains this bookmark entry.
|
||||||
|
|
||||||
@item data
|
@item data
|
||||||
@xref{Online Filesystem Check} for the definition of the
|
@xref{Online Filesystem Check} for the definition of
|
||||||
@code{bookmarkfs_fsck_data} structure.
|
@code{struct bookmarkfs_fsck_data}.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@item str
|
@item str
|
||||||
|
|
Loading…
Add table
Reference in a new issue