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.
This commit is contained in:
@@ -959,9 +959,7 @@ AutoMounter::_SuggestMountFlags(const BPartition* partition, uint32* _flags)
|
|||||||
|
|
||||||
if (partition->ContentType() != NULL
|
if (partition->ContentType() != NULL
|
||||||
&& strcmp(partition->ContentType(), kPartitionTypeBFS) == 0) {
|
&& strcmp(partition->ContentType(), kPartitionTypeBFS) == 0) {
|
||||||
#if 0
|
|
||||||
askReadOnly = false;
|
askReadOnly = false;
|
||||||
#endif
|
|
||||||
isBFS = true;
|
isBFS = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -986,16 +984,10 @@ AutoMounter::_SuggestMountFlags(const BPartition* partition, uint32* _flags)
|
|||||||
string << B_TRANSLATE("Mounting volume <unnamed volume>\n\n");
|
string << B_TRANSLATE("Mounting volume <unnamed volume>\n\n");
|
||||||
|
|
||||||
// TODO: Use distro name instead of "Haiku"...
|
// TODO: Use distro name instead of "Haiku"...
|
||||||
if (!isBFS) {
|
string << B_TRANSLATE("The file system on this volume is not the "
|
||||||
string << B_TRANSLATE("The file system on this volume is not the "
|
"Be file system. It is recommended to mount it in read-only "
|
||||||
"Haiku file system. It is strongly suggested to mount it in "
|
"mode, to prevent unintentional data loss because of bugs "
|
||||||
"read-only mode. This will prevent unintentional data loss "
|
"in Haiku.");
|
||||||
"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.");
|
|
||||||
}
|
|
||||||
|
|
||||||
BAlert* alert = new BAlert(B_TRANSLATE("Mount warning"),
|
BAlert* alert = new BAlert(B_TRANSLATE("Mount warning"),
|
||||||
string.String(), B_TRANSLATE("Mount read/write"),
|
string.String(), B_TRANSLATE("Mount read/write"),
|
||||||
|
|||||||
Reference in New Issue
Block a user