/etc/init/mounted-dev.conf is in mountall 2.36.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # mounted-dev - Populate /dev filesystem
#
# Populates the /dev filesystem from /lib/udev/devices once the temporary
# filesystem mount is in place.
description "Populate /dev filesystem"
start on mounted MOUNTPOINT=/dev
env MOUNTPOINT=/dev
task
script
# With the /run transition, shm lives there now, but eglibc still looks in
# /dev/shm. So create a symlink there
[ -e /dev/shm ] || ln -s /run/shm /dev/shm
if [ "${TYPE}" != "devtmpfs" ]
then
cd "${MOUNTPOINT}"
/sbin/MAKEDEV std console fd ppp tun
fi
end script
|