
\begin{DoxyItemize}
\item infos = Information about the uname plugin is in keys below
\item infos/author = Markus Raab \href{mailto:elektra@libelektra.org}{\texttt{ elektra@libelektra.\+org}}
\item infos/licence = B\+SD
\item infos/provides = storage/info
\item infos/needs =
\item infos/placements = getstorage setstorage
\item infos/status = maintained unittest shelltest nodep readonly limited concept
\item infos/description = Includes uname information into the key database.
\end{DoxyItemize}

This plugin is a storage plugin that will use the syscall {\ttfamily uname (2)}. No resolver is needed for that plugin to work.

This plugin defines following keynames below its mount point\+:


\begin{DoxyItemize}
\item sysname
\item nodename
\item release
\item version
\item machine
\end{DoxyItemize}

This plugin is read-\/only.


\begin{DoxyCode}{0}
\DoxyCodeLine{\# To mount uname information using this plugin:}
\DoxyCodeLine{kdb mount -R noresolver none user/tests/uname uname}
\DoxyCodeLine{}
\DoxyCodeLine{\# List available data}
\DoxyCodeLine{kdb ls user/tests/uname/}
\DoxyCodeLine{\#> user/tests/uname/machine}
\DoxyCodeLine{\#> user/tests/uname/nodename}
\DoxyCodeLine{\#> user/tests/uname/release}
\DoxyCodeLine{\#> user/tests/uname/sysname}
\DoxyCodeLine{\#> user/tests/uname/version}
\DoxyCodeLine{}
\DoxyCodeLine{\# Read the OS name}
\DoxyCodeLine{kdb get user/tests/uname/sysname}
\DoxyCodeLine{\# STDOUT-REGEX: CYGWIN\_NT.*|Darwin|DragonFly|FreeBSD|Linux|OpenBSD}
\DoxyCodeLine{}
\DoxyCodeLine{\# Read the OS version number}
\DoxyCodeLine{kdb get user/tests/uname/release}
\DoxyCodeLine{\# STDOUT-REGEX: [0-9]+(\(\backslash\).[0-9]+)*[[:alnum:][:punct:]]*}
\DoxyCodeLine{}
\DoxyCodeLine{\# Unmount the plugin}
\DoxyCodeLine{kdb umount user/tests/uname}
\end{DoxyCode}
 