Subject: disklabel problems.
To: Brian Chase <bdc@world.std.com>
From: Can Altineller <altine@ee.fit.edu>
List: port-vax
Date: 02/04/2000 11:47:55
Hello;
When I run disklabel sd0 I get:
disklabel: ioctl DIOCGDINFO: Operation not supported by device
what does this mean? I put in a 2 gig SCSI HD from a sparc machine
that was running linux, so it is not a clean drive.
Thanks a bunch.
-C.A.
> On Fri, 4 Feb 2000 jkunz@unixag-kl.fh-kl.de wrote:
> > On 3 Feb, Can Altineller wrote:
>
> > > Can someone give me hints please? I understand there must be a
> > > edlabel program, or some stuff that comes with the miniroot, but I dont
> > > have those.
>
> > Boot the box over the net. Put a disklabel(8) on the disk, newfs(8) the
> > patitions, mount(8) them under /mnt.
> > [...]
> >
> > BTW: The easyest way to disklabel a new disk is:
> > disklabel sd0 > dl
> > vi dl
> > disklabel -rR sd0 dl
> > Remember to put partition boundarys on cyliner boundarys.
>
> I'm partial to the "disklabel -i sd0" command. Of course if you're new to
> dealing with BSD disklabels, you'll probably be confused.
>
> -brian.
> --- Brian Chase | bdc@world.std.com | http://world.std.com/~bdc/ -----
> I've said it before, and I'll say it again. You can diagnose people
> based on where they sit on the bus. -- K.
>
>