commit | afdae26c71d2539a9f0dfb06b65541dedf28b5f5 | [log] [tgz] |
---|---|---|
author | Peter Rajnoha <prajnoha@redhat.com> | Thu Sep 17 13:31:34 2015 +0200 |
committer | Peter Rajnoha <prajnoha@redhat.com> | Thu Sep 17 13:37:15 2015 +0200 |
tree | 0cbed909e4991b00f95d3b55b9d0e1c9460b1fe8 | |
parent | b5022102bbaf978cddd7ca9b27a1a12d5aeef44d [diff] |
libdm: dev_node: use lstat instead of stat while removing and renaming nodes When using udev, the /dev/mapper entries are symlinks - fix the code to count with this. This patch also fixes the dmsetup mknodes and vgmknodes to properly repair /dev/mapper content if it sees dangling symlink in /dev/mapper.