Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Output of cat -n /usr/share/initramfs-tools/scripts/init-bottom/udev:
- 1 #!/bin/sh -e
- 2
- 3 PREREQS=""
- 4
- 5 prereqs() { echo "$PREREQS"; }
- 6
- 7 case "$1" in
- 8 prereqs)
- 9 prereqs
- 10 exit 0
- 11 ;;
- 12 esac
- 13
- 14 # we cannot properly synthesize LVM LV change events with udevadm trigger, so
- 15 # if we use LVM, we need to let it finish; otherwise we get missing LV symlinks
- 16 # (LP #1185394)
- 17 if [ -x /sbin/vgchange ]; then
- 18 udevadm settle --timeout=121 || true
- 19 fi
- 20
- 21 # Stop udevd, we'll miss a few events while we run init, but we catch up
- 22 udevadm control --timeout=121 --exit || \
- 23 echo "udev exit failed -- rc=$?"
- 24
- 25 # move the /dev tmpfs to the rootfs
- 26 mount -n -o move /dev ${rootmnt}/dev
- 27
- 28 # create a temporary symlink to the final /dev for other initramfs scripts
- 29 rm -rf /dev
- 30 ln -s ${rootmnt}/dev /dev
- 31
- Output of lsb_release -a:
- No LSB modules are available.
- Distributor ID: Ubuntu
- Description: Ubuntu 14.04.1 LTS
- Release: 14.04
- Codename: trusty
- Out of uname -a:
- Linux ethanbmnz-pc 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement