From 81b9fd211f1f0dfa17c04387ae5dd87d2f23e66e Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 2 Sep 2019 17:14:45 -0400 Subject: [PATCH] mount_server: Remove the scary warning for BFS partitions. Even if we are still not so sure about the veracity of other filesystem drivers, the BFS driver has had no reported corruption bugs for quite some time (almost 2 years I think). In fact the only real corruption issues heard of recently are from KDLs, which are also a vanishing issue. So, disabling the warning entirely for BFS partitions probably makes sense at this point. --- src/servers/mount/AutoMounter.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/servers/mount/AutoMounter.cpp b/src/servers/mount/AutoMounter.cpp index cdea7e7a75..2ddace8b99 100644 --- a/src/servers/mount/AutoMounter.cpp +++ b/src/servers/mount/AutoMounter.cpp @@ -959,9 +959,7 @@ AutoMounter::_SuggestMountFlags(const BPartition* partition, uint32* _flags) if (partition->ContentType() != NULL && strcmp(partition->ContentType(), kPartitionTypeBFS) == 0) { -#if 0 askReadOnly = false; -#endif isBFS = true; } @@ -986,16 +984,10 @@ AutoMounter::_SuggestMountFlags(const BPartition* partition, uint32* _flags) string << B_TRANSLATE("Mounting volume \n\n"); // TODO: Use distro name instead of "Haiku"... - if (!isBFS) { - string << B_TRANSLATE("The file system on this volume is not the " - "Haiku file system. It is strongly suggested to mount it in " - "read-only mode. This will prevent unintentional data loss " - "because of errors in Haiku."); - } else { - string << B_TRANSLATE("It is suggested to mount all additional " - "Haiku volumes in read-only mode. This will prevent " - "unintentional data loss because of errors in Haiku."); - } + string << B_TRANSLATE("The file system on this volume is not the " + "Be file system. It is recommended to mount it in read-only " + "mode, to prevent unintentional data loss because of bugs " + "in Haiku."); BAlert* alert = new BAlert(B_TRANSLATE("Mount warning"), string.String(), B_TRANSLATE("Mount read/write"),