On 7/9/06, Ray Lee <[email protected]> wrote:
A simple solution would be for udev to just maintain a list in a flat
file (e.g., /dev/.mappings) that could be read (very quickly) by ps
upon startup.
And this could/should probably be an append-only file cleared out at
boot, so that the overhead of continually re-reading/re-writing the
file per device node on boot is removed. That'd slow things down for
sure.
Any reader just needs to know to read the whole file in, and either
construct a final lookup table in memory or scan backwards.
~r.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]