A few diffs from official make repository. In particular - 30612 made
compiling dev86 problematic.
Signed-off-by: Michal Soltys <soltys@ziu.info>
Signed-off-by: Juergen Daubert <jue@jue.li>
This delegates node creation to udev. Among other things, the
important advantage of this approach is population of all the related
stuff in /dev/disk/by-* ; relying on udev can also be controlled
through dmsetup's command line
Comments related to this version:
- another minor patch for static build scenario had to be applied;
hopefully it will be fixed in upstream one day
- example users' file is installed in /etc/udev/rules.d (not active)
- configure is now consistent with lvm2 (they can be trivially merged
into single package now)
- minor adjustment to .pc
Signed-off-by: Michal Soltys <soltys@ziu.info>
Don't override exec_prefix= and use --with-rootlibdir to copy
runtime libs to /lib while keeping most of the stuff in /usr.
With this change, we don't have to override pkgconfig, or manually
setup .so symlink. It's also friendlier towards builds with
enable-extras (which would require more additional fixes).
Enable build of static library, which will enable us to add explicit
udev support to static builds of dm/lvm.
Adjust start_udev:
- remount /dev if it's already mounted (due to initramfs or
CONFIG_DEVTMPFS_MOUNT), which allows us to set mount options
- add inodes limit safeguard
- verify udevd is not running before starting it
- remove 'settle' between subsystems/devices
Signed-off-by: Michal Soltys <soltys@ziu.info>