[arch-dev-public] udev 128 core move blockers

Thomas Bächler 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...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://archlinux.org/pipermail/arch-dev-public/attachments/20080915/c88e09f8/attachment.pgp>


More information about the arch-dev-public mailing list