Subject: Re: device attachement detection from userland
To: David Laight <email@example.com>
From: Emmanuel Dreyfus <firstname.lastname@example.org>
Date: 10/14/2006 13:48:56
David Laight <email@example.com> 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...