On 2017-09-16 10:28, Ulli Horlacher wrote:
On Sat 2017-09-16 (13:47), Kai Krakow wrote:
Or you do "btrfs device stats .", it shows the associated device(s).
tux@xerus:/test/tux/zz: btrfs device stats .
ERROR: getting dev info for devstats failed: Operation not permitted
Not possible for a normal user.
`btrfs fi show` should be possible for a normal user, and that also
lists devices. Alternatively, you can check /sys/fs/btrfs and correlate
UUID's (possibly easier programmatically than analyzing regular output).
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html