Subject: Re: device attachement detection from userland
To: David Laight <>
From: Emmanuel Dreyfus <>
List: tech-kern
Date: 10/14/2006 13:48:56
David Laight <> wrote:

> > Moreover, removable devices partitions are not always at the same
> > disklabel letter. Some USB key feature DOS partitions with a MBR (and
> > pop up as sd0e), some without (and pop up as sd0d or sd0c). I just don't
> > know how to handle that properly with amd. 
> I have consider changing the code that 'fakes up' a netbsd label from the
> mbr information to use 'a' if the mbr defines a single partition that
> covers at least 90% of the expected volume size.

An auto mount daemon could read the first bytes of each partition to
discover where are the relevant partitions and only mount them...

Emmanuel Dreyfus