Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/distrib/pmax/instkernel Pullup 1.3 [mhitch]:



details:   https://anonhg.NetBSD.org/src/rev/4abe508c83bd
branches:  netbsd-1-5
changeset: 490210:4abe508c83bd
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Nov 13 20:32:21 2000 +0000

description:
Pullup 1.3 [mhitch]:
Change the disktype of the diskimage to what the kernel is looking for to
detect a 'miniroot' disklabel.  Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.

diffstat:

 distrib/pmax/instkernel/diskimage.label.proto |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r f7d0d3b68a7b -r 4abe508c83bd distrib/pmax/instkernel/diskimage.label.proto
--- a/distrib/pmax/instkernel/diskimage.label.proto     Mon Nov 13 20:32:06 2000 +0000
+++ b/distrib/pmax/instkernel/diskimage.label.proto     Mon Nov 13 20:32:21 2000 +0000
@@ -4,11 +4,11 @@
 label: 
 flags:
 bytes/sector: 512
-sectors/track: 32
-tracks/cylinder: 32
-sectors/cylinder: 1024
-cylinders: 1648
-total sectors: 1312344
+sectors/track: 16
+tracks/cylinder: 2
+sectors/cylinder: 32
+cylinders: 128
+total sectors: 4096
 rpm: 3600
 interleave: 1
 trackskew: 0
@@ -19,6 +19,6 @@
 
 3 partitions:
 #        size   offset     fstype   [fsize bsize   cpg]
-  a:     4096        0     4.2BSD     1024  8192    16   # (Cyl.    0 - 82*)
-  b:     4096     4096    unknown                        # (Cyl.   82*- 247*)
+  a:     4096        0     4.2BSD      512  4096    16   # (Cyl.    0 - 82*)
+  b:        0        0    unknown                        # (Cyl.   82*- 247*)
   c:     4096        0    unknown                        # (Cyl.    0 - 82*)



Home | Main Index | Thread Index | Old Index