-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/linux-nvme/nvme-cli
- Loading branch information
Showing
39 changed files
with
25,980 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
## linknvme: macro | ||
# | ||
# Usage: linknvme:command[manpage-section] | ||
# | ||
# Note, {0} is the manpage section, while {target} is the command. | ||
# | ||
# Show Git link as: <command>(<section>); if section is defined, else just show | ||
# the command. | ||
|
||
[macros] | ||
(?su)[\\]?(?P<name>linknvme):(?P<target>\S*?)\[(?P<attrlist>.*?)\]= | ||
|
||
[attributes] | ||
asterisk=* | ||
plus=+ | ||
caret=^ | ||
startsb=[ | ||
endsb=] | ||
backslash=\ | ||
tilde=~ | ||
apostrophe=' | ||
backtick=` | ||
litdd=-- | ||
|
||
ifdef::backend-docbook[] | ||
[linknvme-inlinemacro] | ||
{0%{target}} | ||
{0#<citerefentry>} | ||
{0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>} | ||
{0#</citerefentry>} | ||
endif::backend-docbook[] | ||
|
||
ifdef::backend-docbook[] | ||
ifndef::git-asciidoc-no-roff[] | ||
# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this. | ||
# v1.72 breaks with this because it replaces dots not in roff requests. | ||
[listingblock] | ||
<example><title>{title}</title> | ||
<literallayout class="monospaced"> | ||
ifdef::doctype-manpage[] | ||
.ft C | ||
endif::doctype-manpage[] | ||
| | ||
ifdef::doctype-manpage[] | ||
.ft | ||
endif::doctype-manpage[] | ||
</literallayout> | ||
{title#}</example> | ||
endif::git-asciidoc-no-roff[] | ||
|
||
ifdef::git-asciidoc-no-roff[] | ||
ifdef::doctype-manpage[] | ||
# The following two small workarounds insert a simple paragraph after screen | ||
[listingblock] | ||
<example><title>{title}</title> | ||
<literallayout class="monospaced"> | ||
| | ||
</literallayout><simpara></simpara> | ||
{title#}</example> | ||
|
||
[verseblock] | ||
<formalpara{id? id="{id}"}><title>{title}</title><para> | ||
{title%}<literallayout{id? id="{id}"}> | ||
{title#}<literallayout> | ||
| | ||
</literallayout> | ||
{title#}</para></formalpara> | ||
{title%}<simpara></simpara> | ||
endif::doctype-manpage[] | ||
endif::git-asciidoc-no-roff[] | ||
endif::backend-docbook[] | ||
|
||
ifdef::doctype-manpage[] | ||
ifdef::backend-docbook[] | ||
[header] | ||
template::[header-declarations] | ||
<refentry> | ||
<refmeta> | ||
<refentrytitle>{mantitle}</refentrytitle> | ||
<manvolnum>{manvolnum}</manvolnum> | ||
<refmiscinfo class="source">Git</refmiscinfo> | ||
<refmiscinfo class="version">{git_version}</refmiscinfo> | ||
<refmiscinfo class="manual">Git Manual</refmiscinfo> | ||
</refmeta> | ||
<refnamediv> | ||
<refname>{manname}</refname> | ||
<refpurpose>{manpurpose}</refpurpose> | ||
</refnamediv> | ||
endif::backend-docbook[] | ||
endif::doctype-manpage[] | ||
|
||
ifdef::backend-xhtml11[] | ||
[attributes] | ||
git-relative-html-prefix= | ||
[linknvme-inlinemacro] | ||
<a href="{git-relative-html-prefix}{target}.html">{target}{0?({0})}</a> | ||
endif::backend-xhtml11[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
linknvme:nvme-admin-passthru[1]:: | ||
Admin Passthrough Comand | ||
|
||
linknvme:nvme-compare[1]:: | ||
IO Compare | ||
|
||
linknvme:nvme-error-log[1]:: | ||
Retrieve error logs | ||
|
||
linknvme:nvme-flush[1]:: | ||
Submit flush | ||
|
||
linknvme:nvme-format[1]:: | ||
Format namespace(s) | ||
|
||
linknvme:nvme-fw-activate[1]:: | ||
F/W Activate | ||
|
||
linknvme:nvme-fw-download[1]:: | ||
F/W Download | ||
|
||
linknvme:nvme-fw-log[1]:: | ||
Retrieve f/w log | ||
|
||
linknvme:nvme-get-feature[1]:: | ||
Get Features | ||
|
||
linknvme:nvme-get-log[1]:: | ||
Generic Get Log | ||
|
||
linknvme:nvme-smart-log[1]:: | ||
Retrieve Smart Log | ||
|
||
linknvme:nvme-get-ns-id[1]:: | ||
Retrieve namespace identifier | ||
|
||
linknvme:nvme-help[1]:: | ||
NVMe CLI Help | ||
|
||
linknvme:nvme-id-ctrl[1]:: | ||
Identify Controller | ||
|
||
linknvme:nvme-id-ns[1]:: | ||
Identify Namespace | ||
|
||
linknvme:nvme-io-passthru[1]:: | ||
IO Passthrough Command | ||
|
||
linknvme:nvme-list-ns[1]:: | ||
List all nvme namespaces | ||
|
||
linknvme:nvme-list[1]:: | ||
List all nvme controllers | ||
|
||
linknvme:nvme-read[1]:: | ||
Issue IO Read Command | ||
|
||
linknvme:nvme-write[1]:: | ||
Issue IO Write Command | ||
|
||
linknvme:nvme-resv-acquire[1]:: | ||
Acquire Namespace Reservation | ||
|
||
linknvme:nvme-resv-register[1]:: | ||
Register Namespace Reservation | ||
|
||
linknvme:nvme-resv-release[1]:: | ||
Release Namespace Reservation | ||
|
||
linknvme:nvme-resv-report[1]:: | ||
Report Reservation Capabilities | ||
|
||
linknvme:nvme-security-recv[1]:: | ||
Security Receive | ||
|
||
linknvme:nvme-security-send[1]:: | ||
Security Send | ||
|
||
linknvme:nvme-set-feature[1]:: | ||
Set Feature | ||
|
||
linknvme:nvme-show-regs[1]:: | ||
Show NVMe Controller Registers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/sh | ||
|
||
T="$1" | ||
|
||
for h in \ | ||
*.txt *.html \ | ||
howto/*.txt howto/*.html \ | ||
technical/*.txt technical/*.html \ | ||
RelNotes/*.txt *.css | ||
do | ||
if test ! -f "$h" | ||
then | ||
: did not match | ||
elif test -f "$T/$h" && | ||
$DIFF -u -I'^Last updated ' "$T/$h" "$h" | ||
then | ||
:; # up to date | ||
else | ||
echo >&2 "# install $h $T/$h" | ||
rm -f "$T/$h" | ||
mkdir -p $(dirname "$T/$h") | ||
cp "$h" "$T/$h" | ||
fi | ||
done | ||
strip_leading=$(echo "$T/" | sed -e 's|.|.|g') | ||
for th in \ | ||
"$T"/*.html "$T"/*.txt \ | ||
"$T"/howto/*.txt "$T"/howto/*.html \ | ||
"$T"/technical/*.txt "$T"/technical/*.html | ||
do | ||
h=$(expr "$th" : "$strip_leading"'\(.*\)') | ||
case "$h" in | ||
RelNotes-*.txt | index.html) continue ;; | ||
esac | ||
test -f "$h" && continue | ||
echo >&2 "# rm -f $th" | ||
rm -f "$th" | ||
done | ||
ln -sf git.html "$T/index.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.