diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-07-05 21:54:40 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-07-05 21:54:40 +0900 |
commit | f0aac575fc1063a43be421b2ce9776400ca02abd (patch) | |
tree | a8a39d9ccc076c05d9e773d08f0ff72de8ec7356 /man | |
parent | 601b08420db5f2f8471ddce08f69d7a1b17bbe4a (diff) | |
download | systemd-f0aac575fc1063a43be421b2ce9776400ca02abd.tar.gz |
systemd-mount: support discovery of loop backing file
```
$ suro systemd-mount /path/to/disk.img
Started unit run-media-system-disk.img.mount for mount point: /run/media/system/disk.img
```
Closes #6226.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-mount.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/systemd-mount.xml b/man/systemd-mount.xml index f3910ca3f7..18f14b3ed0 100644 --- a/man/systemd-mount.xml +++ b/man/systemd-mount.xml @@ -83,7 +83,8 @@ checker to execute a priori), and may make use of the auto-mounting logic.</para> <para>The command takes either one or two arguments. If only one argument is specified it should refer to a block - device containing a file system (e.g. <literal>/dev/sdb1</literal>), which is then probed for a label and other + device or regular file containing a file system (e.g. <literal>/dev/sdb1</literal> or + <literal>/path/to/disk.img</literal>). If it is a block device, which is then probed for a label and other metadata, and is mounted to a directory whose name is generated from the label. In this mode the block device must exist at the time of invocation of the command, so that it may be probed. If the device is found to be a removable block device (e.g. a USB stick) an automount point instead of a regular mount point is created (i.e. the |