Commit Graph

1 Commits

Author SHA1 Message Date
Michal Soltys
706b21c2c4 opt/lvm2: update to use udev
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 lvm.conf and some commands' options.

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

- configure is now consistent with libdevmapper (they can be trivially
  merged into single package now)

- if you ran vgchange initially without udevd active (e.g. in
  initramfs), you will likely need vgchange --refresh (vgmknodes
  --refresh could work too, not tested though); this is important if you
  expect /dev/disk/by-* to be filled with lvm stuff after handover from
  udevless initramfs (fstab, mount, etc.).

Signed-off-by: Michal Soltys <soltys@ziu.info>
2011-03-16 09:38:02 +01:00