On Wed, Feb 12, 2014 at 04:15:55PM +, Hugo Mills wrote:
On Wed, Feb 12, 2014 at 05:01:23PM +0100, David Sterba wrote:
On Fri, Feb 07, 2014 at 10:20:10AM +, Hugo Mills wrote:
For unmounted, but known filesystems:
/sys/fs/btrfs/devmap/UUID/symlink to device (for each device known)
On 26/02/2014 01:45, David Sterba wrote:
On Wed, Feb 12, 2014 at 04:15:55PM +, Hugo Mills wrote:
On Wed, Feb 12, 2014 at 05:01:23PM +0100, David Sterba wrote:
On Fri, Feb 07, 2014 at 10:20:10AM +, Hugo Mills wrote:
For unmounted, but known filesystems:
On Fri, Feb 07, 2014 at 10:20:10AM +, Hugo Mills wrote:
On Fri, Feb 07, 2014 at 06:08:56PM +0800, Anand Jain wrote:
mainly here sysfs way defeats the purpose - debug as
mentioned. Sysfs would/should show only mounted disks,
So let's find a way of showing the known-about data
Thanks for the comments.
mainly here sysfs way defeats the purpose - debug as
mentioned. Sysfs would/should show only mounted disks,
the ioctl way doesn't have such a limitation (of course
as I commented memory dump way would have been best choice
but I got stuck with that approach if
On Mon, Jan 27, 2014 at 08:47:09AM +, Hugo Mills wrote:
On Mon, Jan 27, 2014 at 04:52:50PM +0800, Anand Jain wrote:
The user land progs needs a simple way to read
the raw list of disks and its parameters as
btrfs kernel understands it. This patch will
introduce BTRFS_IOC_GET_DEVS
On 02/06/2014 08:49 PM, David Sterba wrote:
On Mon, Jan 27, 2014 at 08:47:09AM +, Hugo Mills wrote:
On Mon, Jan 27, 2014 at 04:52:50PM +0800, Anand Jain wrote:
The user land progs needs a simple way to read
the raw list of disks and its parameters as
btrfs kernel understands it. This
On Thu, Feb 06, 2014 at 09:09:57PM +0100, Goffredo Baroncelli wrote:
With 3.14 the sysfs interface is available, but the devices under
/sys/fs/btrfs/fs-uuid/devices/...
are symlinks to the sysfs devices, so this btrfs-specific device
information has to be located in a separate directory.
On Mon, Jan 27, 2014 at 04:52:50PM +0800, Anand Jain wrote:
The user land progs needs a simple way to read
the raw list of disks and its parameters as
btrfs kernel understands it. This patch will
introduce BTRFS_IOC_GET_DEVS which dumps
every thing under fs_devices.
As of now
On 01/27/2014 04:47 PM, Hugo Mills wrote:
On Mon, Jan 27, 2014 at 04:52:50PM +0800, Anand Jain wrote:
The user land progs needs a simple way to read
the raw list of disks and its parameters as
btrfs kernel understands it. This patch will
introduce BTRFS_IOC_GET_DEVS which dumps
every thing