From e85eb9ba1c0ef9d06d48c57ca285ecfb63187632 Mon Sep 17 00:00:00 2001 From: Michael Pfeiffer Date: Fri, 22 Aug 2008 13:17:32 +0000 Subject: [PATCH] Show partitions that have a file system in list of bootable partitions only. This fixes part 2 of ticket #2477. Next is to implement the ioctl B_GET_BIOS_DRIVE_ID, any taker? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27149 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bootman/LegacyBootDrive.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps/bootman/LegacyBootDrive.cpp b/src/apps/bootman/LegacyBootDrive.cpp index 176be6d74b..d85c35b722 100644 --- a/src/apps/bootman/LegacyBootDrive.cpp +++ b/src/apps/bootman/LegacyBootDrive.cpp @@ -169,6 +169,9 @@ PartitionRecorder::FirstOffset() const bool PartitionRecorder::_Record(BPartition* partition) { + if (!partition->ContainsFileSystem()) + return false; + BPath partitionPath; partition->GetPath(&partitionPath);