Thread (4 messages) 4 messages, 1 author, 2012-09-30
DORMANTno replies

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

From: Dieter Ries <hidden>
Date: 2012-09-30 14:24:47
Subsystem: the rest · Maintainer: Linus Torvalds

This patch makes btrfsck print the filesystem, which is to be checked,
to stdout. This should be helpful when analyzing (copied and pasted)
output of btrfsck.

Signed-off-by: Dieter Ries <redacted>
---
 btrfsck.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/btrfsck.c b/btrfsck.c
index 088b9f4..dde63e7 100644
--- a/btrfsck.c
+++ b/btrfsck.c
@@ -3538,6 +3538,8 @@ int main(int ac, char **av)
 	} else if(ret) {
 		fprintf(stderr, "%s is currently mounted. Aborting.\n", av[optind]);
 		return -EBUSY;
+	} else {
+		printf("Checking filesystem on %s\n",av[optind]);
 	}
 
 	info = open_ctree_fs_info(av[optind], bytenr, rw, 1);
-- 
1.7.3.GIT
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help