I view these driver identifier characters as being roughly the equivalent of the major device numbers used in UNIX/Linux systems behind the scenes, commonly accessed via the files under the /dev heirarchy.

I don't think those numbers are really standardized either.


On 2/22/25 04:10, tlaro...@kergis.com wrote:
On Fri, Feb 21, 2025 at 02:31:04PM -0800, Skip Tavakkolian wrote:
This topic was brought up a few years ago and some helpful suggestions
were made:

https://9fans.topicbox.com/groups/9fans/Tc21478a4dc8e2df1-M53e7a145d7e726e30dd4bbed

The keyboard is assigned L'b' (for pc and sgi), and in ppc/devirq.c,
the device is assigned 'b'.

But it is the same character 'b', no?

Depending on the archs, the character assignment may differ?

Could the characters be defined, uniquely, in a machine independent
header file via defines? Or is there a technical reason---these are
supposed to be manipulated by the kernel for initial mounting, and not
by user so better not be too advertized, or there are more arch
dependent devices than common ones, so it would be much ado about
nothing, the majority of definitions being of no interest for the
code---that prevents this to be done?


On Thu, Feb 20, 2025 at 4:17?PM Dworkin Muller <dlm-9f...@weaselfish.com> wrote:
On Thu, 20 Feb 2025 09:09:31 -0800, ron minnich <rminn...@gmail.com> wrote:
rminnich> Based on the response to my note re: things that act like strace, I'm 
going
rminnich> to start accumulating a "plan 9 for linux users" doc. It helps to 
have a
rminnich> guide it seems.

Something that would be really helpful would be an explanation/
enumeration of the #<foo> namespace.  It took quite a while for me to
kind of get a handle on Unix' two-character device names, but there
was at least a relatively logical mapping to physical hardware names,
so knowing DEC's names for disk controllers and such usually made for
some mnemonic value.  Plan 9's mostly single-character names, with no
apparent connection to what they correspond to, have completely
flummoxed me more times than I care to count.  Yes, using the source
works.  It's not exactly convenient, however, especially when you have
no idea that there's one you need for some task rather than using the
ones you already know about....

Thanks.

Dworkin

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tabc159d56e7ead54-Ma3ce55b07b567e3b263f7264
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to