I run a test CentOS 6.3 HW and VE
The VE is centos-6-x86_64.tar.gz (downloaded from openvz.org)
Inside the VE, if I run
mkdir /z
mount -n -o mode=0755 -t devtmpfs none /z
ls -l /
..
drwxrwxrwt 8 root root 2140 Oct 25 18:15 z
It also shows the folder z (/devtmpfs) is 1777 when mount.
---
The command "mount -n -o mode=0755 -t devtmpfs none "$udev_root"" is inside /sbin/start_udev
where /sbin/start_udev triggered during startup
and the above command make the /dev become 1777
I tried to compare the script - /sbin/start_udev to the standard CentOS 6 one, they are identical.
Does it relate to OpenVZ and the devtmpfs handling !?
[Updated on: Thu, 25 October 2012 10:26]
Report message to a moderator