* Means for userspace to know the used space (not allocated space) in a device of a multi-device filesystem
@ 2014-06-05 10:15 pkoroau pkoroau
0 siblings, 0 replies; only message in thread
From: pkoroau pkoroau @ 2014-06-05 10:15 UTC (permalink / raw)
To: linux-btrfs
btrfs filesystem show displays allocated space, but how can userspace
know how much space is used on each device?
In #btrfs channel on freenode.net, it was answered that the
TREE_SEARCH ioctl can be used to inspect the data structures, and that
btrfs-gui does this (thanks @darkling): http://carfax.org.uk/btrfs-gui
However, it would be good if third-party applications had means to get
this information from btrfs, without reimplementing what btrfs-gui
does.
For example, partitioning tools would be able to show an accurate
number, rather than 0 or an estimate.
Please, implement something in btrfs that returns this information.
Thanks
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-05 10:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-05 10:15 Means for userspace to know the used space (not allocated space) in a device of a multi-device filesystem pkoroau pkoroau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).