lkml.org 
[lkml]   [2001]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjecttty->name conversion?
    I noticed that ps still relies on device numbers to determine tty, since
    /proc/*/stat only exports the device number. Is there any way to get the
    device name? I noticed that it is not present in tty_struct anywhere
    (proc_pid_stat() uses task->tty->device, which is a kdev_t).

    This would be useful to consider if we ever intend to create real
    unnumbered character/block devices.

    --
    Taral <taral@taral.net>
    (This message is digitally signed. Please encrypt mail if possible.)
    "Any technology, no matter how primitive, is magic to those who don't
    understand it." -- Florence Ambrose
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 13:17    [W:0.020 / U:91.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site