lkml.org 
[lkml]   [2004]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux 2.6.10-rc2 start_udev very slow
Date
On Thursday 16 Dec 2004 21:11, Greg KH wrote:
>
> Then I don't really know what to recommend. As the udev startup logic
> is very tightly tied to how the distro is set up, I recommend using
> whatever they do, and ignore what I say :)

They is me; My distro is Rubyx :)

>
> > So I guess I need to migrate this functionality to my init system before
> > I can call udevstart directly.
>
> I'd suggest just leaving it alone.

Where's the fun in that?

>
> > Is that list of 'extra nodes not exported by sysfs likely to change?'
>
> What does that list contain?

make_extra_nodes () {
# there are a few things that sysfs does not export for us.
# these things go here (and remember to remove them in
# remove_extra_nodes()
#
# Thanks to Gentoo for the initial list of these.
ln -snf /proc/self/fd $udev_root/fd
ln -snf /proc/self/fd/0 $udev_root/stdin
ln -snf /proc/self/fd/1 $udev_root/stdout
ln -snf /proc/self/fd/2 $udev_root/stderr
ln -snf /proc/kcore $udev_root/core

mkdir $udev_root/pts
mkdir $udev_root/shm
}

Andrew Walrond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.060 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site