mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
450442cf93
This adds "systemd-mount" which is for transient mount and automount units what "systemd-run" is for transient service, scope and timer units. The tool allows establishing mounts and automounts during runtime. It is very similar to the usual /bin/mount commands, but can pull in additional dependenices on access (for example, it pulls in fsck automatically), an take benefit of the automount logic. This tool is particularly useful for mount removable file systems (such as USB sticks), as the automount logic (together with automatic unmount-on-idle), as well as automatic fsck on first access ensure that the removable file system has a high chance to remain in a fully clean state even when it is unplugged abruptly, and returns to a clean state on the next re-plug. This is a follow-up for #2471, as it adds a simple client-side for the transient automount logic added in that PR. In later work it might make sense to invoke this tool automatically from udev rules in order to implement a simpler and safer version of removable media management á la udisks.
46 lines
1.3 KiB
XML
46 lines
1.3 KiB
XML
<?xml version="1.0"?> <!--*- Mode: nxml; nxml-child-indent: 2; indent-tabs-mode: nil -*-->
|
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
|
|
|
<variablelist>
|
|
<varlistentry id='help'>
|
|
<term><option>-h</option></term>
|
|
<term><option>--help</option></term>
|
|
|
|
<listitem id='help-text'>
|
|
<para>Print a short help text and exit.
|
|
</para></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id='version'>
|
|
<term><option>--version</option></term>
|
|
|
|
<listitem id='version-text'>
|
|
<para>Print a short version string and exit.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id='no-pager'>
|
|
<term><option>--no-pager</option></term>
|
|
|
|
<listitem>
|
|
<para>Do not pipe output into a pager.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id='no-ask-password'>
|
|
<term><option>--no-ask-password</option></term>
|
|
|
|
<listitem><para>Do not query the user for authentication for privileged operations.</para></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id='no-legend'>
|
|
<term><option>--no-legend</option></term>
|
|
|
|
<listitem>
|
|
<para>Do not print the legend, i.e. column headers and the
|
|
footer with hints.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|