| 1 |
<?xml version="1.0"?> |
| 2 |
<!--*-nxml-*--> |
| 3 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
| 4 |
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> |
| 5 |
<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
| 6 |
<refentry id="systemd-loop_.service"> |
| 7 |
|
| 8 |
<refentryinfo> |
| 9 |
<title>[email protected]</title> |
| 10 |
<productname>systemd</productname> |
| 11 |
</refentryinfo> |
| 12 |
|
| 13 |
<refmeta> |
| 14 |
<refentrytitle>[email protected]</refentrytitle> |
| 15 |
<manvolnum>8</manvolnum> |
| 16 |
</refmeta> |
| 17 |
|
| 18 |
<refnamediv> |
| 19 |
<refname>[email protected]</refname> |
| 20 |
<refpurpose>Attach a loopback block device</refpurpose> |
| 21 |
</refnamediv> |
| 22 |
|
| 23 |
<refsynopsisdiv> |
| 24 |
<para><filename>systemd-loop@<replaceable>path</replaceable>.service</filename></para> |
| 25 |
</refsynopsisdiv> |
| 26 |
|
| 27 |
<refsect1> |
| 28 |
<title>Description</title> |
| 29 |
|
| 30 |
<para><filename>[email protected]</filename> is a template service that may be used to automatically |
| 31 |
attach a loopback block device at boot (or later). Its instance string may reference an (escaped) file |
| 32 |
system path pointing to a disk image to attach as loopback block device. Use |
| 33 |
<citerefentry><refentrytitle>systemd-escape</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s |
| 34 |
<option>--path</option> to properly escape a file system path.</para> |
| 35 |
|
| 36 |
<para>This unit invokes <command>systemd-dissect --attach --quiet --loop-ref-auto</command> on the |
| 37 |
specified files, see |
| 38 |
<citerefentry><refentrytitle>systemd-dissect</refentrytitle><manvolnum>1</manvolnum></citerefentry> for |
| 39 |
details.</para> |
| 40 |
</refsect1> |
| 41 |
|
| 42 |
<refsect1> |
| 43 |
<title>See Also</title> |
| 44 |
<para><simplelist type="inline"> |
| 45 |
<member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 46 |
<member><citerefentry><refentrytitle>systemd-dissect</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 47 |
<member><citerefentry><refentrytitle>systemd-import-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member> |
| 48 |
</simplelist></para> |
| 49 |
</refsect1> |
| 50 |
|
| 51 |
</refentry> |