On Thu, 31 May 2012 13:22:00 +0100 Andrew Benton <a...@benton.eu.com> wrote:
> When they merged udev and systemd they said that it'd be possible to > install just udev without systemd but with the very first merged > release it is impossible to install udev without all of systemd's > dependencies...it makes me wonder if we should move away from using > udev. Xorg would seem to be the problem there. I'm tempted to try and > get Xorg to work on a system without udev. Living without udev appears to be easier than extracting udev from systemd. This system does not have udev installed. The kernel was compiled with CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y so the kernel populates /dev all by itself. If I plug in a usb stick /dev/sdc1 appears, if I pull it out again /dev/sdc1 disappears. Xorg is happy to compile without udev. xf86-input-evdev doesn't seem to work without udev so I've gone back to the keyboard and mouse drivers and I had to write config files for them in /etc/X11/xorg.conf.d. Without udev I've lost the ability to write custom udev rules so if I want something fancy to happen (owned by group video? /dev/dvd symlink? ) I have to become root and fix it by hand or write a custom bootscript. But the system works fine as a desktop. For a server it's even easier as there's no xorg, no usb sticks being plugged in. The only package I've found (so far) that has a problem without udev is LVM2 (but I've not looked at it closely). It seems to me that we should remove udev from LFS and point anyone who needs it at the systemd page in BLFS. They've shown that they're integrating udev more tightly with systemd, we should move away from it. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page