Subject: Re: problem mounting iso images
To: None <netbsd-help@netbsd.org>
From: Julian Opificius <julianop@barnlea.com>
List: netbsd-help
Date: 03/28/2004 12:51:51
Chris,
Oh, duh, of course: the a & d are partition labels just like they with wd0a,d
etc.
Sorry, I was being dense.
I used /dev/rvnd0d because when I ran "vnconfig vnd0 ...." with the -v (verbose)
option, it gave me the message:-
"/dev/rvnd0d: 615491584 bytes on i386pkg2.iso"
so I assumed that was what I was supposed to use in the mount command.
Why do you suppose it did that?
b.t.w. I come from Hounslow, suburb of London, and spent my teen years in
Cheltenham before moving to the states for my employer in '82. Been away
waaaaay too long!
julian.
============================================
On Sun, 28 Mar 2004 19:36:49 +0100
Chris Lloyd <strawberry@toth.org.uk> wrote:
> On Sun, Mar 28, 2004 at 12:23:16PM -0600, Julian Opificius wrote:
>
> > But how could I have known to use "vnd0d" and "/dev/vnd0a"? Is this
> > documented somewhere?
>
> It's sort of described in man 8 disklabel, essentially on i386 the d
> partition represents the entire disk, so that's what you use to vnconfig
> (since an iso represents an entire disk).
>
> After that netbsd invents a disklabel for the iso, and assigns partition a as
> the size of the first partition on the iso (which is the whole thing).
>
> So you could have used /dev/vnd0d or /dev/vnd0a as far as mount
> on an iso is concerned since an iso only has one partition.
>
> Hope that makes sense :-)
>
> - Chris
>
> --
> strawberry@toth.org.uk
> http://www.toth.org.uk/~strawberry