summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGergely Polonkai <gergely@polonkai.eu>2020-05-06 08:49:39 +0000
committerLennart Poettering <lennart@poettering.net>2020-05-06 10:52:22 +0200
commitc28904dae0bc314622150f3ff58ae7b8217167bf (patch)
tree5a7398ad660e07bd85c0a1ea0e9b58dae5054940 /docs
parenteff7c2d3c905dec9ea4e1d5e53a0efd6af7d3d26 (diff)
downloadsystemd-c28904dae0bc314622150f3ff58ae7b8217167bf.tar.gz
Update the rsync command in CONVERTING_TO_HOMED
The old version of this command will delete everything under the new home directory (including `.identity`), rendering the directory unusable with homed.
Diffstat (limited to 'docs')
-rw-r--r--docs/CONVERTING_TO_HOMED.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CONVERTING_TO_HOMED.md b/docs/CONVERTING_TO_HOMED.md
index a3a88be6c1..78b6c61631 100644
--- a/docs/CONVERTING_TO_HOMED.md
+++ b/docs/CONVERTING_TO_HOMED.md
@@ -113,7 +113,7 @@ Here's the step-by-step guide:
home directory temporarily and copy the data in.
```
- homectl with foobar -- rsync -aHAXv --delete-during /home/foobar.saved/ .
+ homectl with foobar -- rsync -aHAXv --remove-source-files /home/foobar.saved/ .
```
This mounts the home directory of the user, and then runs the specified
@@ -121,7 +121,7 @@ Here's the step-by-step guide:
new. The new home directory is the working directory of the invoked `rsync`
process. We are invoking this command as root, hence the `rsync` runs as
root too. When the `rsync` command completes the home directory is
- automatically unmounted again. Since we used `--delete-during` all files
+ automatically unmounted again. Since we used `--remove-source-files` all files
copied are removed from the old home directory as the copy progresses. After
the command completes the old home directory should be empty. Let's remove
it hence: