]> sourceware.org Git - lvm2.git/commit
fsadm: use stat to get major:minor pair for non-standard /dev layouts
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 18 Mar 2016 14:55:36 +0000 (15:55 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 18 Mar 2016 16:21:47 +0000 (17:21 +0100)
commit6c10d1f3d95dc0f7ac55fe55be0115a9fc438da5
tree7b60b63dacb9473500f4ded82e615587c6da8c26
parent2879eff86edb944874c7a1bf580b851286c4da46
fsadm: use stat to get major:minor pair for non-standard /dev layouts

If we're using non-standard /dev layout so we can't get the dm-X name
easily, we can't also look at the /sys/blocl/dm-X/dev to get the major:minor
pair. Use "stat" in this case even though it triggers automounts
(but there's no better way for now).
scripts/fsadm.sh
This page took 0.03768 seconds and 5 git commands to generate.