Whamcloud - gitweb
fuse2fs: clarify warning message that fuse2fs does not support the journal
authorTheodore Ts'o <tytso@mit.edu>
Tue, 8 Apr 2025 12:14:29 +0000 (08:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 8 Apr 2025 12:20:38 +0000 (08:20 -0400)
https://github.com/tytso/e2fsprogs/issues/220

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/fuse2fs.c

index a6390ab..f5442bf 100644 (file)
@@ -3889,7 +3889,12 @@ int main(int argc, char *argv[])
 
        if (!fctx.ro) {
                if (ext2fs_has_feature_journal(global_fs->super))
-                       printf(_("%s: Writing to the journal is not supported.\n"),
+                       printf(_("%s: Warning: fuse2fs does not support "
+                                "using the\n"
+                                "journal.  There may be file system "
+                                "corruption or data loss if\n"
+                                "the file system is not gracefully "
+                                "unmounted.\n"),
                               fctx.device);
                err = ext2fs_read_inode_bitmap(global_fs);
                if (err) {