Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 15:23:52 -0800 (PST)
From:      Thomas Moestl <tmm@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8837 for review
Message-ID:  <200204012323.g31NNqY83534@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8837

Change 8837 by tmm@tmm_sparc64 on 2002/04/01 15:23:30

	Fix a comment.

Affected files ...

... //depot/projects/sparc64/sys/boot/sparc64/loader/main.c#21 edit

Differences ...

==== //depot/projects/sparc64/sys/boot/sparc64/loader/main.c#21 (text+ko) ====

@@ -407,14 +407,15 @@
 	case DEVT_DISK:
 		bootdev.d_dev = &ofwdisk;
 		/*
-		 * When booting from a cdrom, a disk label is placed before the
-		 * cd9660 data, with it being in the first slice, while the
-		 * other slices contain pseudo disk labels with embedded boot
-		 * blocks, which are prepended by UFS file systems.
-		 * The firmware will set the boot path to the slice it boots
-		 * from (f in the sun4u case), but we want the kernel to be
-		 * loaded from the cd9660 fs ('a'), so the boot path needs to
-		 * be changed.
+		 * Sun compatible bootable CD-ROMs have a disk label placed
+		 * before the cd9660 data, with the actual file system being
+		 * in the first partition, while the other partitions contain
+		 * pseudo disk labels with embedded boot blocks for different
+		 * architectures, which may be followed by UFS file systems.
+		 * The firmware will set the boot path to the partition it
+		 * boots from ('f' in the sun4u case), but we want the kernel
+		 * to be loaded from the cd9660 fs ('a'), so the boot path
+		 * needs to be altered.
 		 */
 		if (strstr(bootpath, "cdrom") != NULL &&
 		    bootpath[strlen(bootpath) - 2] == ':') {

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204012323.g31NNqY83534>