From: "Frédéric L. W. Meunier" <1@pervalidus.net>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, linux-hotplug-devel@lists.sourceforge.net
Subject: Re: HOWTO use udev to manage /dev
Date: Thu, 19 Feb 2004 20:46:42 -0300 (BRT) [thread overview]
Message-ID: <Pine.LNX.4.58.0402192033490.694@pervalidus.dyndns.org> (raw)
In-Reply-To: <20040219230749.GA15848@kroah.com>
On Thu, 19 Feb 2004, Greg KH wrote:
> On Thu, Feb 19, 2004 at 07:22:30PM -0300, Frédéric L. W. Meunier wrote:
> > On Thu, 19 Feb 2004, Greg KH wrote:
> >
> > > - modify the rc.sysinit script to call the start_udev script as one of
> > > the first things that it does, but after /proc and /sys are mounted.
> > > I did this with the latest Fedora startup scripts with the patch at
> > > the end of this file.
> > >
> > > - make sure the /etc/udev/udev.conf file lists the udev_root as /dev.
> > > It should contain the following line in order to work properly.
> > > udev_root="/dev/"
> > >
> > > - reboot into a 2.6 kernel and watch udev create all of the initial
> > > device nodes in /dev
> > >
> > >
> > > If anyone has any problems with this, please let me, and the
> > > linux-hotplug-devel@lists.sourceforge.net mailing list know.
> >
> > Unless I'm missing something, it doesn't seem to work if you
> > don't have /dev/null before it gets mounted.
>
> Did you build udev using glibc or klibc? I used klibc and it worked
> just fine, as udev and udevd does not need /dev/null to work, unlike
> programs built against glibc.
I used your instructions, so klibc.
# ldd /sbin/udev*
/sbin/udev:
not a dynamic executable
/sbin/udevd:
not a dynamic executable
/sbin/udevinfo:
not a dynamic executable
/sbin/udevsend:
not a dynamic executable
/sbin/udevtest:
not a dynamic executable
It doesn't complain if I mount in /udev after I boot with
devfs, probably because it can find /dev/null etc. But I want
to boot with devfs=nomount and use it in /dev.
I changed /etc/rc.d/rc.S to:
[ -e /dev/.devfsd -a -x /sbin/devfsd ] && devfsd /dev
mount -vn -t proc proc /proc # Needed for LABEL= in /etc/fstab
mount -vn -t sysfs sysfs /sys
[ ! -e /dev/.devfsd -a -d /sys/block ] && /etc/rc.d/start_udev
but it shouldn't make any difference. It's just to not use both
at the same time or try to run the script in 2.4.
--
http://www.pervalidus.net/contact.html
next prev parent reply other threads:[~2004-02-19 23:46 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-19 18:59 [ANNOUNCE] udev 018 release Greg KH
2004-02-19 19:13 ` Greg KH
2004-02-20 12:48 ` Michael Buesch
2004-02-20 23:56 ` Greg KH
2004-02-19 19:16 ` HOWTO use udev to manage /dev Greg KH
2004-02-19 19:36 ` James Simmons
2004-02-19 19:46 ` Greg KH
2004-02-19 20:21 ` James Simmons
2004-02-19 20:28 ` Greg KH
2004-02-19 21:35 ` James Simmons
2004-02-20 0:52 ` Andries Brouwer
2004-02-20 19:14 ` Johannes Stezenbach
2004-02-20 23:57 ` Greg KH
2004-02-19 22:22 ` Frédéric L. W. Meunier
2004-02-19 22:25 ` Frédéric L. W. Meunier
2004-02-19 23:07 ` Greg KH
2004-02-19 23:46 ` Frédéric L. W. Meunier [this message]
2004-02-19 23:56 ` Greg KH
2004-02-20 0:51 ` Frédéric L. W. Meunier
2004-02-20 1:09 ` Frédéric L. W. Meunier
2004-02-20 1:54 ` Greg KH
2004-02-20 2:28 ` Frédéric L. W. Meunier
2004-02-20 7:44 ` Frédéric L. W. Meunier
2004-02-20 1:20 ` Tomasz Torcz
2004-02-21 17:20 ` [ANNOUNCE] udev 018 release Prakash K. Cheemplavam
2004-02-24 1:49 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0402192033490.694@pervalidus.dyndns.org \
--to=1@pervalidus.net \
--cc=greg@kroah.com \
--cc=linux-hotplug-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®