lkml.org 
[lkml]   [2004]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Suspend 2 merge: 9/51: init/* changes.
Hi!

> > And if you really want to make it changeable, pass major:minor from userland; once
> > userland is running getting them is easy.
>
> Yes, but that's also far uglier, and who thinks in terms of major and
> minor numbers anyway? I think of my harddrive as /dev/sda, not 08:xx.
> The parsing accepts majors and minors, of course, but shouldn't we make
> these things easier to do, not harder? (Would we insist on using majors
> and minors for root=?).

Kernel interface is not supposed to be "easy". root= has exception,
that's init code, and you can't easily ls -al /dev at that point. If
you want easy interface, create userland program that looks up
minor/major in /dev/ and uses them.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.181 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site