Subject: trying to disklabel and newfs sd1
To: None <port-mac68k@netbsd.org>
From: Rob Windsor <windsor@warthog.com>
List: port-mac68k
Date: 08/12/1999 23:27:09
: (r) maverick; dmesg | egrep '^sd'
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, FIREBALL1280S, 630G> SCSI2 0/direct 
fixed
sd0: 1222 MB, 4135 cyl, 4 head, 151 sec, 512 bytes/sect x 2503872 sectors
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST15150N, 0023> SCSI2 0/direct fixed
sd1: 4095 MB, 3712 cyl, 21 head, 107 sec, 512 bytes/sect x 8388315 sectors

: (r) maverick; disklabel sd1 > /tmp/foo    
: (r) maverick; disklabel -r -R sd1 /tmp/foo
: (r) maverick; disklabel -r -i sd1         
[do my stuff here]
: (r) maverick; newfs /dev/rsd1a
newfs: /dev/rsd1a: open: Device not configured

eh?

Quadra 700, NetBSD 1.4D, GENERIC kernel, trying to get this set up so that I 
have room to build things.

My disklabel looks like:

4 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:  1049349        0     4.2BSD        0     0     0   # (Cyl.    0 - 466)
  b:   262899  1049349       swap                        # (Cyl.  467 - 583)
  c:  8388051        0     unused        0     0         # (Cyl.    0 - 3732)
  d:  7078050  1310001     4.2BSD        0     0     0   # (Cyl.  583 - 3732)

I've done this *many* times on /sparc and /i386, so I'm not new to disklabel 
(although, why are fsize and bsize still zero?).

-- Rob
----------------------------------------
Internet: windsor@warthog.com                             __o
Life: Rob@Carrollton.Texas.USA.Earth                    _`\<,_
                                                       (_)/ (_)
The weather is here, wish you were beautiful.