Ubuntu 5.04 /dev Problems [message #682] |
Fri, 06 January 2006 17:59 |
|
I am creating an Ubuntu 5.04 template for OpenVZ and have run into a problem. There are no /dev/pty, /dev/random, and /dev/urandom devices in /dev. I have created these devices by the following:
cd /vz/root/111/dev; /vz/root/111/sbin/MAKEDEV pty
This creates the devices just fine. When I reboot Ubuntu the devices are not there and need to be created all over again. When I created templates for other linux distros I have had to create /dev/pty but they are there on reboot.
drwxr-xr-x 4 root root 4096 Jan 1 14:18 dev
How do I solve this problem on Ubuntu? Thanks
*Also posted to ubuntu.com support forum
Just Because You Have One, Doesn't Mean You Have To Be One!
|
|
|
Re: Ubuntu 5.04 /dev Problems [message #721 is a reply to message #682] |
Sat, 07 January 2006 14:02 |
|
Could it be the case that Ubuntu have /dev partition on tmpfs filesystem? If yes, the proper action would be to remove this functionality (mounting /dev using tmpfs) from Ubuntu startup scripts.
In case Ubuntu is using udev - you should also disable that. It is not strictly needed -- instead its rather a optimization.
Kir Kolyshkin
|
|
|