Re: btrfsctl -A not returning useful information

Chris Mason
2008-07-18T20:33:07Z

On Fri, 2008-07-18 at 20:28 +0300, Ahmed Kamal wrote:
> [root@btrfs progs-unstable]# btrfsctl -A /dev/sdb
> ioctl returns 0
> [root@btrfs progs-unstable]# btrfsctl -A /dev/sdc
> ioctl returns 0
>
>
> /dev/sdb has a btrfs, while /dev/sdc is blank. What's that output
> supposed to mean ? Is it a bug ?

It isn't an error to scan a partition that doesn't have btrfs on it.
btrfsctl -A is just a single shot scan of a single device. It is meant
for use by programs like udev to scan storage.

It think what you want is btrfs-show.

-chris