All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nico Schottelius <nico-mutt@schottelius.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: udevstart problem
Date: Mon, 08 Nov 2004 21:26:45 +0000	[thread overview]
Message-ID: <20041108212645.GA2123@schottelius.org> (raw)
In-Reply-To: <20041107140753.GB1722@schottelius.org>

[-- Attachment #1: Type: text/plain, Size: 1506 bytes --]

Kay Sievers [Mon, Nov 08, 2004 at 08:36:53PM +0100]:
> On Sun, 2004-11-07 at 15:07 +0100, Nico Schottelius wrote:
> > Hello!
> > 
> > I am trying to use udev with an empty /dev.
> > 
> > It works more or less good, when mounting /sys and then
> > runnig udevstart. But udevstart does not produce
> > /dev/null nor /dev/urandom.
> > 
> > Is that a bug or is it wanted that I create/mknod them myself?
> 
> It should be created by udevstart. What does:
> [...]
> print for you?

No:

[22:10] scice:/etc/minit# /usr/packages/udev-040/usr/bin/udevtest /sys/class/mem/null/
version 040
looking at '/sys/class/mem/null/'
zsh: segmentation fault  /usr/packages/udev-040/usr/bin/udevtest /sys/class/mem/null/

As I see you are using 043, I'll retry that...

[22:23] scice:~/udev-043# /usr/bin/udevtest /sys/class/mem/null/
version 043
looking at '/sys/class/mem/null/'
sysfs_open_class_device_path failed

Oops found my mistake:

[22:23] scice:~/udev-043# /usr/bin/udevtest /class/mem/null/
version 043
looking at '/class/mem/null/'
creating device node '/udev/null', major = '1', minor = '3', mode = '020600', uid = '0', gid = '0'

Is it possible to strip a leading '/sys', if specified? Would make life
for me (user/tester) easier.

I'll try to reboot and look if /dev/null und /dev/urandom than exist.

Nico

-- 
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

  parent reply	other threads:[~2004-11-08 21:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-07 14:07 udevstart problem Nico Schottelius
2004-11-07 14:37 ` Marco d'Itri
2004-11-08 12:41 ` Nico Schottelius
2004-11-08 17:20 ` Marco d'Itri
2004-11-08 19:36 ` Kay Sievers
2004-11-08 21:26 ` Nico Schottelius [this message]
2004-11-09 21:39 ` Nico Schottelius
2004-11-10  0:06 ` Kay Sievers
2004-11-10  6:41 ` Nico Schottelius
2004-11-10  9:37 ` Marco d'Itri

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=20041108212645.GA2123@schottelius.org \
    --to=nico-mutt@schottelius.org \
    --cc=linux-hotplug@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.