Changeset dc55fb5e for bootscripts/contrib/lsb-v3/etc/init.d/udev
- Timestamp:
- 05/14/2011 09:00:31 PM (13 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 9f55ea0
- Parents:
- b4a6782
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/contrib/lsb-v3/etc/init.d/udev
rb4a6782 rdc55fb5e 34 34 fi 35 35 36 # Mount a temporary file system over /dev, so that any devices 37 # made or removed during this boot don't affect the next one. 38 # The reason we don't write to mtab is because we don't ever 39 # want /dev to be unavailable (such as by `umount -a'). 36 # If not using DEVTMPFS mount a temporary file system over 37 # /dev, so that any devices made or removed during this boot 38 # don't affect the next one. The reason we don't write to mtab 39 # is because we don't ever want /dev to be unavailable (such as 40 # by `umount -a'). 40 41 if ! mountpoint /dev > /dev/null; then 41 42 mount -n -t tmpfs tmpfs /dev -o mode=755 … … 58 59 # Udev handles uevents itself, so we don't need to have 59 60 # the kernel call out to any binary in response to them 61 # This is a failsafe and should be done in kernel config 60 62 echo > /proc/sys/kernel/hotplug 61 63 62 64 # Copy the only static device node that Udev >= 155 doesn't 63 # handle to /dev 64 cp -a /lib/udev/devices/null /dev 65 # handle to /dev (handled by default with DEVTMPFS) 66 if [ ! -f /dev/null ]; then 67 cp -a /lib/udev/devices/null /dev 68 fi 65 69 66 70 # Start the udev daemon to continually watch for, and act on,
Note:
See TracChangeset
for help on using the changeset viewer.