[arch-dev-public] udev 128 core move blockers
thomas at archlinux.org
Mon Sep 15 14:00:02 EDT 2008
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 260 bytes
Desc: OpenPGP digital signature
More information about the arch-dev-public