On Thu, Oct 22, 2009 at 5:55 AM, Olivier Cherrier <[email protected]> wrote:
> On Wed, Oct 21, 2009 at 02:22:18PM +0200, [email protected] wrote:
>> the problem is, that if something is mounted at a wrong place (or i've
>> got an additional usb-device attached) the whole numbering gets messed
>> up and nothing is mounted correctly.
>> this is why i am asking if it's not possible to force a devicename upon
>> a device!
>
> To fix sd numbering on multiple SCSI busses, you have to build a custom
> kernel like:
>        scsibus0 at isp?
>        scsibus1 at esp?
>        scsibus2 at siop?
>        sd0 at scsibus0
>        sd1 at scsibus0
>        sd2 at scsibus0
>        sd3 at scsibus0
>        sd4 at scsibus0
>        sd10 at scsibus2
>        sd11 at scsibus2
>        sd12 at scsibus2
>        sd13 at scsibus2
>        sd14 at scsibus2
>        sd15 at scsibus2
>        sd16 at scsibus2
>        sd17 at scsibus2
>        ...
>
> But, for sd on USB, it becomes more difficult to predict where do you
> plan to plug your USB keys.
> An alternative could be to use hotplugd(8) and to mount your "just
> identified sd using its label" on top of the wanted mount point. You
> just need to set a unique label per disk and rely on it.
>
>
> --
> Olivier Cherrier
> mailto:[email protected]
>
>

You can do all of this in config(8) without haing to recompile at all.

--
Aaron Mason - Programmer, open source addict
- Oh, why does everything I whip leave me?

Reply via email to