-------- Original Message --------
Subject: Re: [PATCH v2] btrfs-progs: Add mount point output for 'btrfs
fi df' command.
From: David Sterba <dsterba@xxxxxxx>
To: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx>
Date: 2014年07月23日 01:56
On Wed, Jul 09, 2014 at 02:56:57PM +0800, Qu Wenruo wrote:
Add mount point output for 'btrfs fi df'.
Also since the patch uses find_mount_root() to find mount point,
now 'btrfs fi df' can output more meaningful error message when given a
non-btrfs path.
If a non-btrfs path is passed, the "Mounted on" line is printed,
followed by 2 ERROR: lines. I suggest to print it only if get_df
succeeds, ie. right before print_df.
Thanks for mentioning, I'll update the patchset soon.
Thanks,
Qu
--
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