summaryrefslogtreecommitdiffstats
path: root/man/homectl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-22 15:52:23 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-27 22:37:56 +0200
commitbf15879b39b82783de145d84ed87135c140b2be8 (patch)
tree94f75d6be8ebe49be3eac8340a659bb2f1649fe3 /man/homectl.xml
parenthomework: make home_move_mount() a bit more generic by renaming first parameter (diff)
downloadsystemd-bf15879b39b82783de145d84ed87135c140b2be8.tar.xz
systemd-bf15879b39b82783de145d84ed87135c140b2be8.zip
homework: allow specifying a dir component in CIFS services
Allow specifying CIFS services in the format //host/service/subdir/… to allow multiple homedirs on the same share, and not in the main dir of the share. All other backends allow placing the data store at arbitrary places, let's allow this too for the CIFS backend. This is particularly useful for testing.
Diffstat (limited to 'man/homectl.xml')
-rw-r--r--man/homectl.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/man/homectl.xml b/man/homectl.xml
index c2b1ec6c9b..f670566593 100644
--- a/man/homectl.xml
+++ b/man/homectl.xml
@@ -690,8 +690,11 @@
<term><option>--cifs-service=</option><replaceable>SERVICE</replaceable></term>
<listitem><para>Configures the Windows File Sharing (CIFS) domain and user to associate with the home
- directory/user account, as well as the file share ("service") to mount as directory. The latter is used when
- <literal>cifs</literal> storage is selected.</para></listitem>
+ directory/user account, as well as the file share ("service") to mount as directory. The latter is
+ used when <literal>cifs</literal> storage is selected. The file share should be specified in format
+ <literal>//<replaceable>host</replaceable>/<replaceable>share</replaceable>/<replaceable>directory/…</replaceable></literal>. The
+ directory part is optional — if not specified the home directory will be placed in the top-level
+ directory of the share.</para></listitem>
</varlistentry>
<varlistentry>