原文地址:http://blog.csdn.net/fanbird2008/article/details/6400580
mknod -m 600 /dev/console c 5 1
mknod -m 640 /dev/mem c 1 1
mknod -m 666 /dev/null c 1 3
mknod -m 666 /dev/ptmx c 5 2
mknod -m 660 /dev/ram0 b 1 0
mknod -m 660 /dev/ram1 b 1 1
mknod -m 660 /dev/ram2 b 1 2
mknod -m 660 /dev/ram3 b 1 3
mknod -m 666 /dev/zero c 1 5
mknod -m 666 /dev/random c 1 8
mknod -m 444 /dev/urandom c 1 9
mknod -m 666 /dev/tty c 5 0
mknod -m 660 /dev/tty0 c 4 0
mknod -m 620 /dev/tty1 c 4 1
mknod -m 600 /dev/tty2 c 4 2
mknod -m 600 /dev/tty3 c 4 3
mknod -m 600 /dev/tty4 c 4 4
mknod -m 600 /dev/tty5 c 4 5
mknod -m 600 /dev/tty6 c 4 6
mknod -m 660 /dev/tty7 c 4 7
mknod -m 660 /dev/tty8 c 4 8
mknod -m 660 /dev/tty9 c 4 9
mknod -m 660 /dev/ttyS0 c 4 64
mknod /dev/vcs c 7 0
mknod -m 620 /dev/pts/0 c 136 0
mknod -m 620 /dev/pts/1 c 136 1
mknod -m 620 /dev/pts/2 c 136 2
mknod -m 620 /dev/pts/3 c 136 3
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b 3 1
mknod -m 660 /dev/hda2 b 3 2
mknod -m 660 /dev/hda3 b 3 3
mknod -m 660 /dev/hda4 b 3 4
mknod -m 660 /dev/hdb b 3 64
mknod -m 660 /dev/hdb1 b 3 65
mknod -m 660 /dev/hdb2 b 3 66
mknod -m 660 /dev/hdb3 b 3 67
mknod -m 660 /dev/hdb4 b 3 68
mknod -m 660 /dev/sda b 8 0
mknod -m 660 /dev/sda1 b 8 1
mknod -m 660 /dev/sda2 b 8 2
mknod -m 660 /dev/sda3 b 8 3
mknod -m 660 /dev/sda4 b 8 4
mknod /dev/chardev c 250 0