~ubuntu-branches/ubuntu/vivid/devmapper/vivid

Viewing all changes in revision 21.

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2007-05-29 09:40:24 UTC
  • Revision ID: james.westby@ubuntu.com-20070529094024-14zo07vn3dvz3yyi
Tags: 2:1.02.18-1ubuntu4
* Fix a regression introduced by Kees's otherwise largely correct patch.
  We still need to not run vol_id on snapshot target devices, otherwise
  we'll end up using a changing device, and arguing over UUID/LABEL
  symlinks.  (This might not be a complete fix, LVM may need to be patched
  to make inactive devices).

* Correct a school-boy error with the stat()/mknod() loop; we can't unlink
  then mknod() since that means there's a period without a device node,
  which could upset callers.  Instead rename() the new device node over
  the top.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: