Re: udev vs /dev

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
To: plug-discuss
Subject: Re: udev vs /dev
Am 27. Jan, 2005 schwätzte Austin Godber so:

> der.hans wrote:
> > When I'm copying the fs over what should I copy into /dev? Should I copy
> > /dev? That isn't working correctly. Should I copy /.dev? Do I need to copy
> > something to /.dev on the new drive?
>
> I can't specifically answer your questions at this point but I have the
> impression that the contents of /dev are now generated automatically on
> boot (or by running /etc/init.d/udev restart). Check out the docs in
> /usr/share/doc/udev ... theres a lot to read.


Yeah. It hasn't completely sunk in at this point.

It looks like they're mounting /dev as /.dev and then mounting a tmpfs
partition over /dev. At that point is /.dev coming from the original /dev
or from the mounted tmpfs /dev?

When I'm copying /dev, which do I need? Do I really just need a subset of
stuff to bootstrap udev?

> I had the problem that my cdrom (/dev/hdc) didn't show up ... there was
> no /dev/hdc ... it turns out that I needed to install the ide-cd module
> by hand (or at least arrange for its install).
>
> So once I did 'modprobe ide-cd' and then a '/etc/init.d/udev restart' (I
> don't know that the restart was actually necessary). I ended up with a
> brand new shiny /dev/hdc and was able to use my device again.


Annoying if the restart was necessary.

> My officemate took a different tack ... he just did 'apt-get remove
> udev' and a reboot and got his device back. Check out the
> README.Debian.gz ... it has some pointers.


I might do that for now. Since this is for older boxen that might be
better than running a new daemon anyway.

> I figure I will keep udev since its the way its going to be in the
> future I guess.


That's what I'm doing for my boxen. Then again, we all thought devfs was
the future... :)

ciao,

der.hans
-- 
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  If you have an apple and I have an apple and we exchange apples then
#  you and I will still each have one apple. But if you have an idea and
#  I have an idea and we exchange these ideas, then each of us will have
#  two ideas. -- George Bernard Shaw
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss