[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: udev is ruining my life



On Fri, 10 Feb 2006, Mitchell Laks wrote:
> My main point is that there is something wrong with the default setups given 
> to us with udev. 
> 
> Currently, udev breaks such basic things as installing raids and installing 
> sound. That is crazy. 

Not really.  The sound devices will be there if you load the modules first
(or have them compiled in the kernel).  Autoloading the modules will even be
done by udev itself in a new enough kernel, new enough udev, in a system
with no traces of hotplug left (for PCI/USB/other hotplug-firendly buses).

As for raid, MAKEDEV md will create it in /dev/.static/dev if they are not
there yet. You can just:

mdadm --assemble /dev/.static/dev/md5 /dev/sd9 /dev/sd10

And you will also have a /dev/md5 right away.

> Static devices should have  some kind of autoconfig in the udev installation I 
> guess.

That would be a good idea, I suppose.  We do need a nice interface to
interact with the udev config files for simple things like renaming devices
and making them static...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: