LWN.net Logo

Char devices for network interfaces

Char devices for network interfaces

Posted Oct 16, 2009 18:59 UTC (Fri) by giraffedata (subscriber, #1954)
In reply to: Char devices for network interfaces by BenHutchings
Parent article: Char devices for network interfaces

So this is just about keeping a directory of ifindexes? Character device special files seem like a pretty crazy implementation for that. How about a regular file that contains the ifindex? Or a single file that contains the whole directory?

And given that the comments indicate that udev is already capable of setting the name of the network interface, why doesn't the network interface name provide the desired mapping?


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds