devtmpfs and mdev

Peter Korsgaard jacmet at sunsite.dk
Thu Feb 2 11:10:40 UTC 2012


>>>>> "Natanael" == Natanael Copa <natanael.copa at gmail.com> writes:

Hi,

 Natanael> I have got a new challenge with udev. Since version 176 devtmpfs is
 Natanael> *required* in kernel[1]. As I understand this will not work very well
 Natanael> with mdev, our primary /dev handler.

Is that a problem? Devtmpfs doesn't add much bloat to the kernel and is
very nice.

 Natanael> Unfortunally, if you want/need hotplugging in xorg today you don't
 Natanael> have any choices.

 Natanael> I wonder if it would be difficult to add devtmpfs support to
 Natanael> mdev? As I understand, mdev will no longer need do mknod, but
 Natanael> will only need to set permissions and create symlinks. Maybe
 Natanael> also remove device nodes.

Yes, if we change the permissions / rename, then we afaik need to remove
the nodes ourselves.

What exactly is the problem with using mdev together with devtmpfs? (I
always use pure devtmpfs on the embedded devices, but don't right away
see what the problem is).

-- 
Bye, Peter Korsgaard


More information about the busybox mailing list