Subject: Re: Create a swap drive
To: None <port-i386@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-i386
Date: 06/25/2006 23:11:07
> disklabel: ioctl DIOCWDINFO: No disk label on disk;
> use "disklabel -I" to install initial label

This is one of the most annoying pieces of NetBSD/i386, to me.

My reaction to this has historically been (for wd1)

	disklabel wd1 | disklabel -R -r wd1 /dev/stdin

but since the message you get says to use -I, I'm not sure what the
correct magic command is now.  Based on the 3.0 manpage, I'd try the
above anyway, but that's a guess.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B