Subject: disklabel
To: None <port-hpcsh@netbsd.org>
From: Tom F <tom@printf.net>
List: port-hpcsh
Date: 01/25/2004 12:35:53
--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hi,

I'm attempting to install netbsd on a jornada 690, and getting rather
confused. Using the 2003-09-24 snapshot from uwe's website, I've booted
the jornada and mounted a miniroot filesystem; currently, I'm trying to
label some CF to use, using disklabel from the miniroot fs:

# disklabel -i -I wd0
partition> P
16 partitions:
#        size  offset fstype [fsize bsize cpg/sgs]
 a:    990704   10240 4.2BSD       0    0     0  # (Cyl.  10*- 992)
 d:   1000944       0 unused       0    0        # (Cyl.   0 - 992)
 e:     10177      63  MSDOS                     # (Cyl.   0*- 10*)
parition> W
Label disk [n]? y
Label written
partition> Q

(Does this seem sane? This is 512MB CF)

Now if i run disklabel -i, the kernel prints "wd0: no disk label", and
disklabel shows:

7 partitions:
#        size  offset fstype [fsize bsize cpg/sgs]
 a:    983040   16384 unused       0    0        # (Cyl.  16*- 991*)
 d:     16352      32  MSDOS                     # (Cyl.   0*-  16*)
 e:    983040      63 unused       0    0        # (Cyl.  16*- 991*)

I don't understand at all what happened to cause that change;
suggestions are much appreciated.



Also, I've made some hardware modifications to my machine (moving the CF
slot, speaker etc around, mostly to avoid having the tray sticking out
when a pcmcia card is inserted, which irritated me.) My machine now has a
flat underside; I'll put details on a webpage, if you're interested.

regards,

- tom

--7AUc2qLy4jB3hD7Z
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAE7gopcX40xzMyBYRAjPJAKCyizJSpqD5bXSqJ6KA788vB8SSsACgxodP
exwnG3XOgkP95ykitBiPKrs=
=kTfx
-----END PGP SIGNATURE-----

--7AUc2qLy4jB3hD7Z--