From 0dbd99fb3e117cd5f87eda492b6b4fab1b5bea23 Mon Sep 17 00:00:00 2001 From: Goffredo Baroncelli Date: Wed, 15 Jun 2011 21:55:25 +0200 Subject: Scan the devices listed in /proc/partitions During the commands: - btrfs filesystem show - btrfs device scan the devices "scanned" are extracted from /proc/partitions. This should avoid to scan devices not suitable for a btrfs filesystem like cdrom and floppy or to scan not existant devices. The old behavior (scan all the block devices under /dev) may be forced passing the "--all-devices" switch. --- man/btrfs.8.in | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'man') diff --git a/man/btrfs.8.in b/man/btrfs.8.in index e830abd4..ab9f44f5 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -31,9 +31,9 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBfilesystem defragment\fP\fI | [|...]\fP .PP -\fBbtrfs\fP \fBdevice scan\fP\fI [...]\fP +\fBbtrfs\fP \fBdevice scan\fP\fI [--all-devices| [...]]\fP .PP -\fBbtrfs\fP \fBdevice show\fP\fI [||