diff options
author | Goffredo Baroncelli <kreijack@inwind.it> | 2011-06-15 21:55:25 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-10-25 09:19:00 -0400 |
commit | 0dbd99fb3e117cd5f87eda492b6b4fab1b5bea23 (patch) | |
tree | 2eac9041b342d4f120e7578db697b368e20fc5b2 /btrfs.c | |
parent | 521770b7a9bef17dcbcee514da5052b3e06120d2 (diff) |
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.
Diffstat (limited to 'btrfs.c')
-rw-r--r-- | btrfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ static struct Command commands[] = { NULL }, { do_show_filesystem, 999, - "filesystem show", "[<device>|<uuid>|<label>]\n" + "filesystem show", "[--all-devices][<uuid>|<label>]\n" "Show the info of a btrfs filesystem. If no argument\n" "is passed, info of all the btrfs filesystem are shown.", NULL |