Lines 308-320
run_shell() {
Link Here
|
308 |
|
308 |
|
309 |
runmdev() { |
309 |
runmdev() { |
310 |
# Use devtmpfs if enabled in kernel, |
310 |
# Use devtmpfs if enabled in kernel, |
311 |
# else busybox udev replacement |
311 |
# else tmpfs. Always run mdev just in case |
|
|
312 |
devfs=tmpfs |
312 |
if grep -qs devtmpfs /proc/filesystems ; then |
313 |
if grep -qs devtmpfs /proc/filesystems ; then |
313 |
# Options copied from /etc/init.d/udev-mount, should probably be kept in sync |
314 |
devfs=devtmpfs |
314 |
mount -t devtmpfs -o "exec,nosuid,mode=0755,size=10M" udev /dev |
|
|
315 |
else |
316 |
mdev -s |
317 |
fi |
315 |
fi |
|
|
316 |
|
317 |
# Options copied from /etc/init.d/udev-mount, should probably be kept in sync |
318 |
mount -t $devfs -o "exec,nosuid,mode=0755,size=10M" udev /dev |
319 |
mdev -s |
318 |
} |
320 |
} |
319 |
|
321 |
|
320 |
test_success() { |
322 |
test_success() { |