Update options for devtmpfs

Options copied from /etc/init.d/udev-mount as that script does not
sanitize or even tuch the options.
cleanup-cruft
Peter Hjalmarsson 14 years ago committed by Sebastian Pipping
parent b0c6daf110
commit e8ffab0000

@ -310,7 +310,8 @@ runmdev() {
# Use devtmpfs if enabled in kernel,
# else busybox udev replacement
if grep -qs devtmpfs /proc/filesystems ; then
mount -t devtmpfs devtmpfs /dev
# Options copied from /etc/init.d/udev-mount, should probably be kept in sync
mount -t devtmpfs -o "exec,nosuid,mode=0755,size=10M" udev /dev
else
mdev -s
fi

Loading…
Cancel
Save