lkml.org 
[lkml]   [2006]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Opinions on removing /proc/tty?
    On 7/9/06, Ray Lee <madrabbit@gmail.com> 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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-09 19:11    [W:2.445 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site