[PATCH 2/4] btrfs-progs: btrfsck: Print which filesystem to be checked to stdout

2012-10-14 Thread Dieter Ries
This patch makes btrfsck print the filesystem, which is to be checked, to stdout, as well as the UUID of the corresponding partition. This should be helpful when analyzing (copied and pasted) output of btrfsck. Signed-off-by: Dieter Ries m...@dieterries.net --- btrfsck.c |7 +-- 1 files

Re: [PATCH 2/4] btrfs-progs: btrfsck: Print which filesystem to be checked to stdout

2012-10-09 Thread David Sterba
On Mon, Oct 08, 2012 at 09:07:48PM +0200, Dieter Ries wrote: --- a/btrfsck.c +++ b/btrfsck.c @@ -3540,6 +3540,8 @@ int main(int ac, char **av) } else if(ret) { fprintf(stderr, %s is currently mounted. Aborting.\n, av[optind]); return -EBUSY; + } else