Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 1998 21:16:35 -0800
From:      "David E. Tweten" <tweten@frihet.com>
To:        stable@FreeBSD.ORG
Subject:   Re: *HEADS UP* Correction to previous postings.
Message-ID:  <199803140516.VAA00661@ns.frihet.com>

next in thread | raw e-mail | index | archive | help
Okay, I'm confused, and I violated the dictum that one should never cvsup 
when confused by the e-mail traffic on stable.  I'm running on kernel.old as 
I type, and I need to find out how to do better.  I cvsupped everything this 
morning, adjusted etc files as indicated, made world, and made a new kernel.  
Now, every time I boot the new kernel, once it tries to mount everything from 
/etc/fstab it complains that the mounted root doesn't match.  Well,

1. I don't need no steenkin' slices.  Wd0 is "dangerously dedicated".

2. My kernel is built with "root on wd0a"

3. I boot from the default, 0:wd(0,a).

4. /etc/fstab mounts /dev/wd0a as /.

5. /dev/wd0a is the result of a "mknod /dev/wd0a b 0 0".

6. Running disklabel wd0 produces:

   # /dev/rwd0c:
   type: ESDI
   disk: wd1s1
   label: 
   flags:
   bytes/sector: 512
   sectors/track: 63
   tracks/cylinder: 255
   sectors/cylinder: 16065
   cylinders: 175
   sectors/unit: 2822400
   rpm: 3600
   interleave: 1
   trackskew: 0
   cylinderskew: 0
   headswitch: 0           # milliseconds
   track-to-track seek: 0  # milliseconds
   drivedata: 0 

   8 partitions:
   #        size   offset    fstype   [fsize bsize bps/cpg]
     a:    65536        0    4.2BSD        0     0     0   # (Cyl.    0 - 4*)
     b:   217072    65536      swap                        # (Cyl.    4*- 17*)
     c:  2822400        0    unused        0     0         # (Cyl.    0 - 
175*)
     e:    61440   282608    4.2BSD        0     0     0   # (Cyl.   17*- 21*)
     f:  2478352   344048    4.2BSD        0     0     0   # (Cyl.   21*- 
175*)

   The only strange thing here is that disklabel got the disk's identity 
wrong.

So, as a "dangerously dedicated" kind of guy, what do I need to do in the 
brave new world of "Slices uber ales?"
-- 
David E. Tweten           |  2047-bit PGP fingerprint:  |  tweten@frihet.com
12141 Atrium Drive        |   E9 59 E7 5C 6B 88 B8 90   |     tweten@and.com
Saratoga, CA  95070-3162  |   65 30 2A A4 A0 BC 49 AE   |     (408) 446-4131
Those who make good products sell products; those who don't, sell solutions.



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



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