First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 173476
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Greg Kroah-Hartman <gregkh@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 173476 depends on: Show dependency tree
Show dependency graph
Bug 173476 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-05 15:25 0000
When the IN_HOTPLUG env variable is used, every device in the system creates an
entry in the udev database in /dev/.udev.  You can just test for the
UDEVD_EVENT variable instead, which does the same thing and is automatically
set by udev.  That way these extra database entries are not created.

By doing this, my usage of /dev goes from 600Kb to 150Kb.

Reproducible: Always

Steps to Reproduce:

------- Comment #1 From Matthias Schwarzott 2007-04-09 07:20:54 0000 -------
Full ack.
Either change it in every file of baselayout, or just add something like this
to /sbin/runscript.sh:

[[ -n $UDEVD_EVENT ]] && IN_HOTPLUG=1

------- Comment #2 From Roy Marples (RETIRED) 2007-04-09 10:12:52 0000 -------
Or do this in the udev files that call stuff in /etc/init.d

baselayout will JUST use IN_HOTPLUG and I see no reason to change this

------- Comment #3 From Matthias Schwarzott 2007-04-23 20:27:11 0000 -------
Fixed in udev-108-r1.

First Last Prev Next    No search results available      Search page      Enter new bug