Aaron Griffin schrieb:
TMPDIR=$(mktemp -d /tmp/udev.XXXXXX)
mount --bind / $(TMPDIR)
[ -c $(TMPDIR)/dev/console ] || mknod ....
[ -c $(TMPDIR)/dev/null ]    || mknod ....
[ -c $(TMPDIR)/dev/zero ]    || mknod ....
umount $(TMPDIR)
rmdir $(TMPDIR)

We also need to make sure this works when pacman is used with the -r option.
Maybe we don't need the bind mount, as udev installation is never done in a
running system anymore, but only from a chroot or in the installer.

I doubt we need all that TMPDIR malarky. It doesn't even make sense to
me. Just use mknod on /dev/*

The /dev directory on / is hidden by the ramfs mounted over it. Using a bind mount makes it visible.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to