Subject: Re: Trying to mount ext2 USB disk ... getting "device not configured"...
To: NetBSD Users Mailing List <netbsd-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-users
Date: 02/22/2007 21:58:39
On Thu, Feb 22, 2007 at 07:21:45PM +0100, tlaronde@polynum.com wrote:
> What does the disklabel say?

You get to the disklabel by running "disklabel sd0" as "root".

> Depending on the disklabel, that's perhaps not /dev/sd0a but /dev/sd0e.

Very likely.

> [no warranty, but the crux is the disklabel, not fdisk I think].

If a disk doesn't have a NetBSD disklabel the kernel will create one in
memory using information from the MBR. The mapping should be:

1st primary partition	-> /dev/[sw]d<n>e (e.g /dev/sd0e)
2nd primary partition	-> /dev/[sw]d<n>f (e.g /dev/sd0f)
3rd primary partition	-> /dev/[sw]d<n>g (e.g /dev/sd0g)
4th primary partition	-> /dev/[sw]d<n>h (e.g /dev/sd0h)

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/