Lines Matching refs:dev
26 [ -d /dev ] || mkdir -m 0755 /dev
37 # Note that this only becomes /dev on the real filesystem if udev's scripts
39 if ! mount -t devtmpfs -o mode=0755 udev /dev; then
40 echo "W: devtmpfs not available, falling back to tmpfs for /dev"
41 mount -t tmpfs -o mode=0755 udev /dev
42 [ -e /dev/console ] || mknod --mode=600 /dev/console c 5 1
43 [ -e /dev/kmsg ] || mknod --mode=644 /dev/kmsg c 1 11
44 [ -e /dev/null ] || mknod --mode=666 /dev/null c 1 3
47 mkdir /dev/pts
48 mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
52 ln -s /run/initramfs /dev/.initramfs