also sprach Felix Zielcke <fziel...@z-51.de> [2009.08.04.1456 +0200]: > The problem is that we currently create the filename of the device by > using the major and minor > Like this: > > if (major == SCSI_DISK0_MAJOR) > sprintf (name, "/dev/sd%c", 'a' + minor / 16); > > This just doestn't work if the major is for local use according to the > kernel docs. > We could make 254 map to /dev/vda but maybe it's wrong then for someone > else. > Unfortunately I don't know why we have 2 different methods of dealing > with RAID disks. > The ioctl method in grub-setup and the method to just read the md > superblock on all disks and add them to a list in grub-probe.
Thanks for the explanation. This is indeed a bit ugly. ;) -- .''`. 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 "first get your facts; then you can distort them at your leisure." -- mark twain
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)