* udev-126 puts devices in /usr/local/dev
@ 2008-08-28 0:32 Aras Vaichas
2008-08-28 0:39 ` David Zeuthen
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Aras Vaichas @ 2008-08-28 0:32 UTC (permalink / raw)
To: linux-hotplug
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?
Aras
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: udev-126 puts devices in /usr/local/dev
2008-08-28 0:32 udev-126 puts devices in /usr/local/dev Aras Vaichas
@ 2008-08-28 0:39 ` David Zeuthen
2008-08-28 0:51 ` Marco d'Itri
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: David Zeuthen @ 2008-08-28 0:39 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: udev-126 puts devices in /usr/local/dev
2008-08-28 0:32 udev-126 puts devices in /usr/local/dev Aras Vaichas
2008-08-28 0:39 ` David Zeuthen
@ 2008-08-28 0:51 ` Marco d'Itri
2008-08-28 0:55 ` Aras Vaichas
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Marco d'Itri @ 2008-08-28 0:51 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 614 bytes --]
On Aug 28, David Zeuthen <david@fubar.dk> wrote:
> 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).
This really looks like an excuse for an autoconfiscation bug.
I have been maintaining an udev package for over four years and I never
dreamt of rebuilding it with a different value of udev_root just for
testing.
It's much easier to set $UDEV_ROOT when debugging instead of forcing
every package maintainer to set $prefix.
--
ciao,
Marco
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: udev-126 puts devices in /usr/local/dev
2008-08-28 0:32 udev-126 puts devices in /usr/local/dev Aras Vaichas
2008-08-28 0:39 ` David Zeuthen
2008-08-28 0:51 ` Marco d'Itri
@ 2008-08-28 0:55 ` Aras Vaichas
2008-08-28 4:50 ` Matthias Schwarzott
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Aras Vaichas @ 2008-08-28 0:55 UTC (permalink / raw)
To: linux-hotplug
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
______________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: udev-126 puts devices in /usr/local/dev
2008-08-28 0:32 udev-126 puts devices in /usr/local/dev Aras Vaichas
` (2 preceding siblings ...)
2008-08-28 0:55 ` Aras Vaichas
@ 2008-08-28 4:50 ` Matthias Schwarzott
2008-08-28 6:32 ` Kay Sievers
2008-08-28 9:12 ` Matthias Schwarzott
5 siblings, 0 replies; 7+ messages in thread
From: Matthias Schwarzott @ 2008-08-28 4:50 UTC (permalink / raw)
To: linux-hotplug
On Donnerstag, 28. August 2008, Marco d'Itri wrote:
> On Aug 28, David Zeuthen <david@fubar.dk> wrote:
> > 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).
>
> This really looks like an excuse for an autoconfiscation bug.
> I have been maintaining an udev package for over four years and I never
> dreamt of rebuilding it with a different value of udev_root just for
> testing.
> It's much easier to set $UDEV_ROOT when debugging instead of forcing
> every package maintainer to set $prefix.
The gentoo package now calls configure with these params:
--prefix=/ --includedir=/usr/include
The only thing I explicitly patched is the path to the pkgconfig file. I think
it should be in /usr/lib/pkgconfig and not in /lib/pkgconfig.
Regards
Matthias
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: udev-126 puts devices in /usr/local/dev
2008-08-28 0:32 udev-126 puts devices in /usr/local/dev Aras Vaichas
` (3 preceding siblings ...)
2008-08-28 4:50 ` Matthias Schwarzott
@ 2008-08-28 6:32 ` Kay Sievers
2008-08-28 9:12 ` Matthias Schwarzott
5 siblings, 0 replies; 7+ messages in thread
From: Kay Sievers @ 2008-08-28 6:32 UTC (permalink / raw)
To: linux-hotplug
On Thu, Aug 28, 2008 at 06:50, Matthias Schwarzott <zzam@gentoo.org> wrote:
> On Donnerstag, 28. August 2008, Marco d'Itri wrote:
>> On Aug 28, David Zeuthen <david@fubar.dk> wrote:
>> > 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).
>>
>> This really looks like an excuse for an autoconfiscation bug.
>> I have been maintaining an udev package for over four years and I never
>> dreamt of rebuilding it with a different value of udev_root just for
>> testing.
>> It's much easier to set $UDEV_ROOT when debugging instead of forcing
>> every package maintainer to set $prefix.
>
> The gentoo package now calls configure with these params:
> --prefix=/ --includedir=/usr/include
Huh? Why? Let prefix stay as usr, as usual, and set exec-prefix, as
suggested in INSTALL. Just take a look at autogen.sh.
Kay
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: udev-126 puts devices in /usr/local/dev
2008-08-28 0:32 udev-126 puts devices in /usr/local/dev Aras Vaichas
` (4 preceding siblings ...)
2008-08-28 6:32 ` Kay Sievers
@ 2008-08-28 9:12 ` Matthias Schwarzott
5 siblings, 0 replies; 7+ messages in thread
From: Matthias Schwarzott @ 2008-08-28 9:12 UTC (permalink / raw)
To: linux-hotplug
On Donnerstag, 28. August 2008, Kay Sievers wrote:
> On Thu, Aug 28, 2008 at 06:50, Matthias Schwarzott <zzam@gentoo.org> wrote:
> > On Donnerstag, 28. August 2008, Marco d'Itri wrote:
> >> On Aug 28, David Zeuthen <david@fubar.dk> wrote:
> >> > 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).
> >>
> >> This really looks like an excuse for an autoconfiscation bug.
> >> I have been maintaining an udev package for over four years and I never
> >> dreamt of rebuilding it with a different value of udev_root just for
> >> testing.
> >> It's much easier to set $UDEV_ROOT when debugging instead of forcing
> >> every package maintainer to set $prefix.
> >
> > The gentoo package now calls configure with these params:
> > --prefix=/ --includedir=/usr/include
>
> Huh? Why? Let prefix stay as usr, as usual, and set exec-prefix, as
> suggested in INSTALL. Just take a look at autogen.sh.
>
Ah, that simplifies it.
Thanks
Matthias
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-08-28 9:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28 0:32 udev-126 puts devices in /usr/local/dev Aras Vaichas
2008-08-28 0:39 ` David Zeuthen
2008-08-28 0:51 ` Marco d'Itri
2008-08-28 0:55 ` Aras Vaichas
2008-08-28 4:50 ` Matthias Schwarzott
2008-08-28 6:32 ` Kay Sievers
2008-08-28 9:12 ` Matthias Schwarzott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).