Subject: Re: Trying to mount ext2 USB disk ... getting "device not configured"...
To: Matthias Scheler <tron@zhadum.org.uk>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 02/23/2007 15:02:09
It was indeed /dev/sd0e ... :)

Thanks!

Now my NetBSD machine is also the SMB server... and I have 
decommissioned a Linux box that was just serving files. :)

Gilles.

Matthias Scheler wrote:
> 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
>
>   

-- 
/*Gilles Gravier*/ *=* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org> 
*=* *http://www.gravier.org/*
ICQ : *77488526* 
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN 
Messenger : Gilles@Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier 
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier 
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026* 
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus 
aberrante." [Anatole France]