tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: introducing devmajor_t/devminor_t
abs%NetBSD.org@localhost said:
> Out of curiosity what type names do other systems use?
I haven't seen another name than "major_t" / "minor_t" so far.
As Andrew mentioned - it seems to be from SysV origin.
Linux used to have those too, at least in 2.4. It disappeared
at some point.
ad%NetBSD.org@localhost said:
> Why not use the SVR4 names you mention?
I don't care too much. As said I consider these names
more a documentation than as help for portability,
so I've chosen some descriptine ones. The only use
I've seen outside the kernel so far in in getdevmajor(3)
which is only used by devname(3), and our config(8^H1).
If you say that "major_t" would help for portability
or so I wouldn't argue much but invoke sed. As said,
I don't care.
best regards
Matthias
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index