Skip to content

Commit ff64357

Browse files
committed
fuse2fs: clarify warning message that fuse2fs does not support the journal
#220 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent ddd4f79 commit ff64357

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

misc/fuse2fs.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3889,7 +3889,12 @@ int main(int argc, char *argv[])
38893889

38903890
if (!fctx.ro) {
38913891
if (ext2fs_has_feature_journal(global_fs->super))
3892-
printf(_("%s: Writing to the journal is not supported.\n"),
3892+
printf(_("%s: Warning: fuse2fs does not support "
3893+
"using the\n"
3894+
"journal. There may be file system "
3895+
"corruption or data loss if\n"
3896+
"the file system is not gracefully "
3897+
"unmounted.\n"),
38933898
fctx.device);
38943899
err = ext2fs_read_inode_bitmap(global_fs);
38953900
if (err) {

0 commit comments

Comments
 (0)