@@ -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)
This patch documents the '-s' switch and the environment variable BTRFS_SKIP_LVM_SNAPSHOT. Signed-off-by: Goffredo Baroncelli <kreijack@inwind.it> --- Documentation/btrfs-device.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)