On Tue, Sep 28, 2010 at 07:25:13PM -0400, Christoph Hellwig wrote: > On Tue, Sep 28, 2010 at 04:53:16PM -0400, Josef Bacik wrote: > > This was a request from the systemd guys. They need a quick and easy way > > to get > > all devices attached to a Btrfs filesystem in order to check if any of the > > disks > > are SSD for...something, I didn't ask :). I've tested this with the > > btrfs-progs patch that accompanies this patch. Thanks, > > So please tell the "systemd guys" to explain what the fuck they're doing > to linux-fsdevel and fiend a proper interface. Chance is they will fuck > up as much as just about ever other lowlevel userspace tool are very > high. >
Lennart? :). And Christoph, what would be a good interface? LVM has a slaves/ subdir in sysfs which symlinks to all of their dev's, would you rather I resurrect the sysfs stuff for Btrfs and do a similar thing? I'm open to suggestions, I just took the quick and painless way out. Thanks, Josef -- 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