also sprach Felix Zielcke <fziel...@z-51.de> [2009.07.24.1410 +0200]: > We currently use in grub-setup ioctl (GET_ARRAY_INFO) and ioctl > (GET_DISK_INFO) and unfortunately they return the major and minor of the > device and not the name of the device file.
But you have to somehow map that to the device file later, right? mdadm-lab:~# ls -la /dev/vda brw-rw---- 1 root disk 254, 0 2009-08-04 13:53 /dev/vda /dev/vda is a regular device like any other, except that it uses the 'experimental' major number 254. I don't understand why that should be treated any differently than e.g. a SCSI disk with major number 8. -- .''`. martin f. krafft <madd...@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems ... the ravenous bugblatter beast of traal (a mind-bogglingly stupid animal, it assumes that if you can't see it, it can't see you -- daft as a bush, but very very ravenous); -- douglas adams, "the hitchhiker's guide to the galaxy"
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)