On Fri, Jul 04, 2014 at 04:38:49PM +0800, Qu Wenruo wrote: > 'btrfs fi df' command is currently able to be executed on any file/dir > inside btrfs since it uses btrfs ioctl to get disk usage info. > > However it is somewhat confusing for some end users since normally such > command should only be executed on a mount point. I disagree here, it's much more convenient to run 'fi df' anywhere and get the output. The system 'df' command works the same way. The 'fi df' command itself is not that user friendly and the numbers need further interpretation. I'm using it heavily during debugging and restricting it to the mountpoint seems too artifical, the tool can cope with that. The 'fi usage' is supposed to give the user-friendly overview, but the patchset is stuck because I found the numbers wrong or misleading under some circumstances. I'll reread the thread that motivated this patch to see if there's something to address. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
