tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mjf-devfs2 branch



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Mar 31, 2008 at 11:29:46PM +0100, Andrew Doran wrote:
> On Sat, Mar 29, 2008 at 04:35:31PM +0000, Matt Fleming wrote:
> 
> > Further Work:
> >     - Once device drivers are all converted, move to dynamic major
> >       numbers
> 
> It seems like a lot of this naturally belongs in the device switch and that
> the same call should register the device methods. Are you proposing to keep
> the existing major numbers? That makes sense in the short term but longer
> term I think we'd be making a mistake by doing that.
> 

I haven't yet looked into this fully, mainly because it's the last stage
of the project. However, mrg has pointed out that we already support
dynamically assigning major numbers because the switch tables can be built
dynamically at run time. If I recall correctly he mentioned he made this
work with LKMs.

When we make the switch I wasn't proposing to keep the existing major
numbers, I'm not aware of any problems that would be introduced by having
different ones. That's not to say there won't be any. As long the upgrade
procedure for new devfs installs is sane and we can take account of 
people's customisations of device nodes, everything _should_ be fine.

- --mjf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (NetBSD)

iQEcBAEBAgAGBQJH8iU9AAoJEK3y1f69VxYbNZUIALk773cZsLUz8ImK/LubZ78Q
d220Y4UftqawlyOOCz9OOax2vKaXwmTs7pyeG2JTV2i/KSciDEk/hcbKHqCH1dLu
u2+SJc210quUMC/H9Voq2vFV3suEFeKvnLsTw12KlXtUXtsQZW8MWQ/fyzaaISH3
OVAFHg9Rj32SDOhlkjFHW7LEVs5XP7vKAB95HQylGE32CoTaE9lISraLHE95sLFI
lGR7mKCtmd+N3fXt3YeCyJXe2Gw0D+wZjBffbzr9TKsdxhiY+hvmBOCsmD16lrsp
HesqcxXHOMJd5W4u5s5BZ90OaK79Pnz7lrjhsldIob/dH01p2Alp3qbht4Vsodk=
=bgLk
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index