Re: udev-126 puts devices in /usr/local/dev

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

 



David Zeuthen wrote:
> On Thu, 2008-08-28 at 10:32 +1000, Aras Vaichas wrote:
>   
>> Hi there,
>>
>> I just updated from 124 to 126 and now all my /dev entries are being
>> created in /usr/local/dev ...
>>
>> I ./configure'd with the default settings and I am cross-compiling udev
>> in a Scratchbox environment.
>>
>> Is there a configuration option that I should be setting?
>>     
>
> If you don't pass any special options (such as prefix=/), the behavior
> of putting device nodes in /usr/local/dev is indeed correct (it's useful
> for e.g. debugging udev without screwing up the real /dev).
>
> FYI you can override this by editing the udev configuration file (e.g.
> the one in /usr/local/etc/udev/udev.conf if you don't pass stuff
> to ./configure), e.g. just put
>
>  udev_root="/dev"
>
> in the file and you should be all set.
>
>      David
>   
Hah, thanks. Silly me, I should have read the man page for that setting.

I also wanted to check that this was the expected behaviour.

I personally would design it so that the default configuration would
install into the default location.I think that would adhere better to
the "Rule of Least Surprise".

I'm currently assembling a whole custom Linux distribution for our
embedded product, and 9-times-out-of-10 I can just call ./configure for
each package and everything works as expected. Anyway, just my 2 cents.

Aras

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux