Lines Matching refs:partition

183 	virtual bool IsBootPartition(KPartition* partition, bool& foundForSure);
259 DiskBootMethod::IsBootPartition(KPartition* partition, bool& foundForSure)
267 if (partition->Offset() == bootPartitionOffset) {
268 dprintf("Identified boot partition by partition offset.\n");
277 // Check for the boot partition of an anyboot CD. We identify it as
278 // such if it is a partition on the CD, has type BFS, and the boot
279 // partition offset is 0
280 KDiskDevice* device = partition->Device();
282 && bootPartitionOffset == 0 && partition->Parent() == device
285 && partition->ContentType() != NULL
286 && strcmp(partition->ContentType(), kPartitionTypeBFS) == 0) {
292 // Ignore non-session partitions, if a boot partition was selected
295 && partition->Type() != NULL
296 && strcmp(partition->Type(), kPartitionTypeDataSession) != 0) {
301 if (partition->ContentType() != NULL
302 && (strcmp(partition->ContentType(), kPartitionTypeBFS) == 0
303 || strcmp(partition->ContentType(), kPartitionTypeISO9660) == 0)) {
323 /*! Make the boot partition (and probably others) available.
366 // determined to be invalid. The partition we are trying to boot from
386 virtual bool VisitPre(KPartition *partition)
388 if (!partition->ContainsFileSystem())
392 if (fBootMethod->IsBootPartition(partition, foundForSure))
393 fPartitions.Push(partition);
424 // sort partition list (e.g.. when booting from CD, CDs should come first in
503 TRACE(("trying to mount boot partition: %s\n", path.Path()));
507 dprintf("Mounted boot partition: %s\n", path.Path());