~ubuntu-branches/ubuntu/hardy/initramfs-tools/hardy-proposed

Viewing all changes in revision 92.

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-07-02 16:44:53 UTC
  • Revision ID: james.westby@ubuntu.com-20080702164453-ckkv6zuqbl7w6z3l
Tags: 0.85eubuntu39.2
Whilst looping for the root filesystem, don't just rely on the existance
of the block device and whether vol_id succeeds on it, but also make
sure that udev is not currently active by calling "settle" on it.  This
solves a race where mdadm or devmapper still has a lock on the device,
but the contents are ready which will cause the mount call later to fail.
LP: #244926.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: