From ce01e4ea9b7ffef8399e4637212ce2cecb2c454b Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Thu, 21 Mar 2024 12:33:28 -0500 Subject: [PATCH] drivesetup: Be less assertive on unknown filesystem types * This condition here is "we are unaware of this filesystem or it is not formatted" * Since a filesystem could exist, we don't want to falsely guide users that data doesn't exist within a partition, when it could actually exist. * In this case, I had a bcachefs filesystem, which showed in DriveSetup as "Not formatted (Linux data)" * With this change, the language adjusts to "Unknown (Linux data)" Change-Id: Ib88fea16ee9403419d54bb5223ceee950591ce56 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7540 Reviewed-by: waddlesplash Reviewed-by: humdinger humdinger Tested-by: Commit checker robot --- src/apps/drivesetup/PartitionList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/drivesetup/PartitionList.cpp b/src/apps/drivesetup/PartitionList.cpp index 6d343fb2cc..bdc82ec776 100644 --- a/src/apps/drivesetup/PartitionList.cpp +++ b/src/apps/drivesetup/PartitionList.cpp @@ -306,7 +306,7 @@ PartitionListRow::PartitionListRow(BPartition* partition) SetField(new BStringField(kUnavailableString), kVolumeNameColumn); } else { if (!partitionType.IsEmpty()) { - partitionType.SetToFormat(B_TRANSLATE("Not formatted (%s)"), + partitionType.SetToFormat(B_TRANSLATE("Unknown (%s)"), partitionType.String()); SetField(new BStringField(partitionType), kFilesystemColumn); } else