|
|
|
@ -596,7 +596,8 @@ mount_devfs () {
|
|
|
|
|
devfs=devtmpfs
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Options copied from /etc/init.d/udev-mount, should probably be kept in sync
|
|
|
|
|
# Options copied from /etc/init.d/udev-mount
|
|
|
|
|
# should probably be kept in sync
|
|
|
|
|
if ! fs_type_in_use devtmpfs; then
|
|
|
|
|
mount -t $devfs -o "exec,nosuid,mode=0755,size=10M" udev /dev \
|
|
|
|
|
|| bad_msg "Failed to mount /dev as ${devfs}"
|
|
|
|
@ -605,7 +606,8 @@ mount_devfs () {
|
|
|
|
|
# http://git.busybox.net/busybox/plain/docs/mdev.txt
|
|
|
|
|
if ! fs_type_in_use devpts; then
|
|
|
|
|
mkdir -m 0755 /dev/pts
|
|
|
|
|
mount -t devpts -o gid=5,mode=0620 devpts /dev/pts || bad_msg "Failed to mount /dev/pts"
|
|
|
|
|
mount -t devpts -o gid=5,mode=0620 devpts /dev/pts \
|
|
|
|
|
|| bad_msg "Failed to mount /dev/pts"
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|