/etc/init/mounted-dev.conf is in mountall 2.53.
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 24 25 26 27 28 29 | # 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
env container
env LIBVIRT_LXC_UUID
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 fd ppp tun
# lxc and libvirt containers have set up their own console and ttys
if [ -z "$container" -a -z "$LIBVIRT_LXC_UUID" ]; then
/sbin/MAKEDEV console
fi
fi
end script
|