Files
xen/docs/man/xenstore-ls.1.pod
T
Andrew Cooper 8410fcb54a docs/man: Fix/simplify generation of manpages
The original intent of this patch was to rename xen-vbd-interface.markdown.7
to xen-vbd-interface.pandoc.7 to remove the final markdown file from the docs/
tree.

The DOC_MANx lists are broken.  They contain MANxSRC-y twice, the first half
with a partial %.pod substituation, and the second half with a partial
%.markdown substitution.  This is also the root cause behind the filtering
activity in the uninstall-man$(i)-pages rule.

Furthermore, the logic for generating the manpage targets is unnecesserily
repetative, owing to the layout of source files in the man/ directory.

Therefore, tackle the problem by renaming all of our manpage source files from
"$FORMAT.$SECTION" to "$SECTION.$FORMAT".  For the two xl.cfg.5 and xl.1 which
are preprocessed by autoconf to contain path information, this requires
updating configure.ac and .gitignore.  The markdown to pandoc conversion is
performed as well, as it is also a straight rename.

An ancillary benefit of this renaming is that text editors stand a chance of
being able to work out the correct mode to use.

As for the makefile:

1) Break the MAN_SECTIONS list out of the GENERATE_MANPAGE_RULES loop, as we
   are going to use it a second time.
2) Do away with the individaul MANxSRC-y variables.  Use a single list,
   derived from all *.pod and *.pandoc files, with their format suffixes
   removed.
3) Use a $(foreach ...) to generate the DOC_MANx lists, filling them with the
   correct content.
4) The DOC_HTML and DOC_TXT can now include all manpages with a single
   substitution, as they don't need to separate the manpages by
   section-numbered-directory.
5) Fix up the filenames in the manpage metarule to match the renaming.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
2019-01-02 17:50:36 +00:00

63 lines
1.0 KiB
INI

=head1 NAME
xenstore-ls - list Xenstore keys and values
=head1 SYNOPSIS
B<xenstore-ls> [I<OPTION>]... [I<PATH>]...
=head1 DESCRIPTION
List keys, values and permissions of one or more Xenstore I<PATH>s,
using a nested, tree-like view.
=over
=item B<-f>
Show the full path for all keys.
=item B<-p>
Show permissions of all the listed keys as comma separated list. The
format of each permission is I<LD>, where I<L> is a letter for the
type of permission and I<D> is the corresponding domain ID.
The types of permission are:
=over
=item B<r>
read
=item B<w>
write
=item B<b>
read and write (both)
=item B<n>
no access
=back
The first permission entry is the domain owning the key (the owner)
I<and> the permissions for any domain not explicitly listed in
subsequent entries. The key owner always has full access (read,
write, and set permissions).
=item B<-s>
Connect to the Xenstore daemon using a local socket only.
=back
=head1 BUGS
Send bugs to xen-devel@lists.xen.org, see
http://wiki.xen.org/xenwiki/ReportingBugs on how to send bug reports.