diff options
author | Ryan Harper <ryanh@us.ibm.com> | 2010-06-25 08:59:23 -0500 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-06-29 17:22:58 +0200 |
commit | 2d000ed9d85eb6dd8a535e5d5e8f7a5ef52bd794 (patch) | |
tree | 58ddcc6882d5885ee211afc220b5e93663bc82d7 /rules/rules.d/50-udev-default.rules | |
parent | 8741f2defaf26aafe5ee0fd29954cfdf84ee519c (diff) |
Add virtio-blk by-id rules based on 'serial' attribute
Using virtio-blk serial attributes add rules to extract drive serial numbers and
generate by-id links for the block device and partitions.
With these rules added, we now see the following symlinks in disk/by-id
% ls -al /dev/disk/by-id | grep vdb
lrwxrwxrwx. 1 root root 9 Jun 1 22:09 virtio-QM00001 -> ../../vda
lrwxrwxrwx. 1 root root 10 Jun 1 22:09 virtio-QM00001-part1 -> ../../vda1
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Diffstat (limited to 'rules/rules.d/50-udev-default.rules')
0 files changed, 0 insertions, 0 deletions