SPECS: dev.spec - /dev/fbsplash - needs to be figured why and fixe...

Jakub Bogusz qboosh at pld-linux.org
Mon Dec 27 13:22:03 CET 2004


On Mon, Dec 27, 2004 at 03:01:23AM +0000, havner wrote:
> Author: havner                       Date: Mon Dec 27 03:01:22 2004 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - /dev/fbsplash
> - needs to be figured why and fixed why does it use the same major,minor
>   as DM control (maybe that's why there are problems with DM on this kernel
[...]
>  %dev(c,10,63) %attr(660,root,disk) /dev/mapper/control
> +%dev(c,10,63) %attr(660,root,video) /dev/fbsplash

[...checking sources...]

_Both_ entries are likely not to work.
Several modules (incl. dm, fbsplash... just grep kernel sources for
MISC_DYNAMIC_MINOR) have minor numbers for (char major 10) assigned
dynamically (in 0..63 range, starting from 63 down to 0).
They are supposed to work by creating device files dynamically using
udev (or devfs, but it's obsolete).

(well, they can be hacked by using some static minor instead of
MISC_DYNAMIC_MINOR, but then such module can fail to load if that minor
is already reserved by other module using MISC_DYNAMIC_MINOR...)


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list