diff options
author | Josef Bacik <jbacik@fb.com> | 2015-05-27 13:51:29 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-06-02 17:35:43 +0200 |
commit | 420afa3edc3325912ee72d951af7228f66ed1831 (patch) | |
tree | 333ad8cb7116a85e8ad1c5e710dfa69b16ea3e3f /Documentation | |
parent | fa7749fdf4968707e05c367238f63aa0253b3758 (diff) | |
download | btrfs-progs-420afa3edc3325912ee72d951af7228f66ed1831.tar.gz |
btrfs-progs: specify mountpoint for recieve
In a chroot environment we may not have /proc mounted, which makes btrfs receive
freak out since it wants to know the base directory where are are mounted for
things like clone and such. Give an option to specify where the mountpoint is
in these cases so you can still do a btrfs receive in a chroot. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
[added manpage documentation]
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/btrfs-receive.asciidoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/btrfs-receive.asciidoc b/Documentation/btrfs-receive.asciidoc index bdbabdf..84b85c1 100644 --- a/Documentation/btrfs-receive.asciidoc +++ b/Documentation/btrfs-receive.asciidoc @@ -43,6 +43,12 @@ or on EOF. --max-errors <N>:: Terminate as soon as N errors happened while processing commands from the send stream. Default value is 1. A value of 0 means no limit. +-m:: +The root mount point of the destination fs. ++ +By default the mountpoint is searched in /proc/self/mounts. +If you do not have /proc, eg. in a chroot environment, use this option to tell +us where this filesystem is mounted. EXIT STATUS ----------- |