Re: Changing naming order of HDD SD drives on boot by kernel

2014-08-17 Thread Kenneth Gober
it occurs to me, after a night's rest, that if you want short easy-to-remember device names that don't change when drives are reordered etc., then it might work to create 'alias' device nodes. put something into rc.local to look up certain duids (e.g. disklabel | head -1 ), look up the major/mino

Re: Changing naming order of HDD SD drives on boot by kernel

2014-08-17 Thread Denis Lapshin
I've simply disabled detecting any USB mass storage devices by kernel. Since then there is no problem with reordering SDx devices and all works good except usb related storage devices... Cheers On 15.08.2014 15:44, Denis Lapshin wrote: May I use DUID in my case when I have a USB card reader wh

Re: Changing naming order of HDD SD drives on boot by kernel

2014-08-15 Thread Denis Lapshin
May I use DUID in my case when I have a USB card reader which has no flash card in it? How to fix using DUID for SD1 (fstab with SD1 DUIDs is below) as boot disk don't mind on any other USB disks, readers (without card, for instance) connected to the system during boot? How to make USB SDx s

Re: Changing naming order of HDD SD drives on boot by kernel

2014-08-15 Thread Joel Sing
On Fri, 15 Aug 2014, Denis Lapshin wrote: > My fstab has identity for main boot HDD: > > 548ac03903a985e9.a / ffs rw 1 1 > 548ac03903a985e9.g /home ffs rw,nodev,nosuid 1 2 > 548ac03903a985e9.d /tmp ffs rw,nodev,nosuid 1 2 > 548ac03903a985e9.f /usr ffs rw,nodev 1 2 > 548ac03903a985e9.e /var ffs rw,n

Re: Changing naming order of HDD SD drives on boot by kernel

2014-08-15 Thread Denis Lapshin
My fstab has identity for main boot HDD: 548ac03903a985e9.a / ffs rw 1 1 548ac03903a985e9.g /home ffs rw,nodev,nosuid 1 2 548ac03903a985e9.d /tmp ffs rw,nodev,nosuid 1 2 548ac03903a985e9.f /usr ffs rw,nodev 1 2 548ac03903a985e9.e /var ffs rw,nodev,nosuid 1 2 835806792ad105b8.b none swap sw 127.0.0

Re: Changing naming order of HDD SD drives on boot by kernel

2014-08-15 Thread Daniel Jakots
On Fri, 15 Aug 2014 11:37:56 +0400, Denis Lapshin wrote: > Is it possible to change or set fixed device names for drives like > SD0, SD1, SD2, SD3 and so on. http://www.openbsd.org/faq/faq14.html#DUID Cheers, -- Vigdis

Changing naming order of HDD SD drives on boot by kernel

2014-08-15 Thread Denis Lapshin
Is it possible to change or set fixed device names for drives like SD0, SD1, SD2, SD3 and so on. When I boot with connected USB drives like flash sticks, kernel numbered it starting from SD0, SD1 so the system HDD stand SD2 and kernel can't mound disk with file system as it should be.