jimbob palmer wrote: > Hello, > > I am running Ubuntu 8.04.1 in a container (openvz). > > Ubuntu uses udev, and the /dev/pts device does not exist in the container. > > I can cheat, and run > cd /dev && /sbin/MAKEDEV pty && /sbin/MAKEDEV tty > manually with a chroot, but this is a hack. > > RHEL has the makedev.d directory which solves my problem quite easily. > > I wondered if there is a correct way of doing this with just udev? > If it will help, this is the top section of my init script. I create the pts directory. # essential system init mount -t tmpfs mdev /dev mkdir /dev/pts mount -t devpts devpts /dev/pts mount proc mount sys # copy over some necessary devices cp -a /lib/udev/devices/* /dev where: # ll /lib/udev/devices/ drwxr-xr-x 3 root root 4096 Sep 1 2008 ./ drwxr-xr-x 4 root root 4096 Aug 29 2008 ../ lrwxrwxrwx 1 root root 11 Jul 7 2008 core -> /proc/kcore@ lrwxrwxrwx 1 root root 13 Jul 7 2008 fd -> /proc/self/fd/ crw-rw-rw- 1 root root 1, 3 Aug 12 2008 null crw-rw-r-- 1 root root 108, 0 Sep 1 2008 ppp drwxrwxrwt 2 root root 4096 Jan 9 2006 shm/ lrwxrwxrwx 1 root root 4 Jul 7 2008 stderr -> fd/2 lrwxrwxrwx 1 root root 4 Jul 7 2008 stdin -> fd/0 lrwxrwxrwx 1 root root 4 Jul 7 2008 stdout -> fd/1 crw-r--r-- 1 root root 4, 64 Aug 27 2008 ttyS0 Some of those might be unnecessary, I'm currently in the middle of an overhaul and update of our whole distribution. Aras ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html