On Mon, Nov 01, 2010 at 01:58:21PM +0100, Xavier Nicollet wrote: > Le 30 octobre 2010 à 19:44, Goffredo Baroncelli a écrit: > > I like the idea that these info should be put under sysfs. Something like > > > > /sys/btrfs/<filesystem-uuid>/ > > balance -> info on balancing > > devices -> list of device (a directory > > of > > links or a file which contains > > the list of devices) > > subvolumes/ -> info on subvolume(s) > > label -> label of the filesystem > > <other btrfs filesystem related knoba> > > Well, mdstat stats are under /proc/mdstat. > Is sysfs the ideal place ?
mdstats are in sys: /sys/block/md127/md/ sync_action, sync_completed, sync_speed, reshape_position etc. /proc file is legacy. -- Tomasz Torcz "Never underestimate the bandwidth of a station xmpp: zdzich...@chrome.pl wagon filled with backup tapes." -- Jim Gray -- 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