This patch documents the '-s' switch and the environment variable BTRFS_SKIP_LVM_SNAPSHOT.
Signed-off-by: Goffredo Baroncelli <kreij...@inwind.it> --- Documentation/btrfs-device.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/btrfs-device.txt b/Documentation/btrfs-device.txt index 46c54b9..ce5d69d 100644 --- a/Documentation/btrfs-device.txt +++ b/Documentation/btrfs-device.txt @@ -77,7 +77,7 @@ force overwrite of existing filesystem on the given disk(s) *delete* <dev> [<dev>...] <path>:: Remove device(s) from a filesystem identified by <path>. -*scan* [(--all-devices|-d)|<device> [<device>...]]:: +*scan* [-s][(--all-devices|-d)|<device> [<device>...]]:: Scan devices for a btrfs filesystem. + If one or more devices are passed, these are scanned for a btrfs filesystem. @@ -85,6 +85,9 @@ If no devices are passed, btrfs uses block devices containing btrfs filesystem as listed by blkid. Finally, if '--all-devices' or '-d' is passed, all the devices under /dev are scanned. +By default, the lvm snapshots are skipped. If '-s' is passed, these aren't +skipped anymore. See also BTRFS_SKIP_LVM_SNAPSHOT environmental variable +in the main btrfs man page. *ready* <device>:: Check device to see if it has all of it's devices in cache for mounting. @@ -114,3 +117,4 @@ SEE ALSO `mkfs.btrfs`(8), `btrfs-replace`(8), `btrfs-balance`(8) +`btrfs` (8) -- 2.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html