[oe] [PATCH] Fix files/device_table-ezx.txt

Antonio Ospite ospite at studenti.unina.it
Sat Sep 19 08:41:54 UTC 2009


On Sat, 19 Sep 2009 01:21:20 +0200
"Michael 'Mickey' Lauer" <mickey at vanille-media.de> wrote:

> Thanks!
> 
> Someone on IRC alarmed that due to the now changed semantics we would need to 
> change the present device tables as well. Can you confirm that?
> 
> :M:
>

Entries with the 'start' field > 0 should be checked, as now exactly
'start' more device nodes are created in this case, this shouldn't be a
great problem, tho. It is sufficient to set the 'count' field to
(count-start) to retain the current behavior if we really want to.

The affected entries are:

awk '{if (($0 !~ /^#/) && ($8 > 0)) print FILENAME ":\n" $0}' \
files/device_table*

And while we are at it, it could be worth documenting in device_table
header that the 'start' field is used for device node names, not for
minor numbers, and that the 'increment' field only applies to the
'minor' field, not to device node names; just to fade away any
ambiguity. Is this info available anywhere else?

Regards,
   Antonio

-- 
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090919/073d356b/attachment-0002.sig>


More information about the Openembedded-devel mailing list