Quote:
Originally Posted by gilead
On my system, /dev/mapper contains symlinks to devices (/dev/dm-0, etc.). It's the actual devices that appear in /proc/partitions, not the symlinks. Can your test look up the symlink in /dev/mapper first and see what it is linked to?
|
[root@localhost scripts]# cat /proc/partitions
major minor #blocks name
8 0 117220824 sda
8 1 104391 sda1
8 2 117113850 sda2
8 16 117220824 sdb
8 17 7823623 sdb1
8 18 15631245 sdb2
253 0 15631245 dm-0
[root@localhost scripts]# ll /dev/mapper/
total 0
crw------- 1 root root 10, 63 May 16 14:29 control
brw-rw---- 1 root disk 253, 0 May 16 14:33 sc0