[lkml]   [2006]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Opinions on removing /proc/tty?
On 7/9/06, Russell King <> wrote:

> So it basically breaks on 2.x kernels because (eg) you don't include major
> 204 as a tty major. Plus, if you insist that there are only N tty major
> numbers, you break as soon as another tty major gets added.
> Try again.

I'm kidding of course. Putting the names in a file is crap.
This is what procps-1.x.xx did long ago. Everybody hated it.
You'll never handle chroot correctly.

Just do /proc/*/tty links and all will be good. This even
handles the case of two different names for the same dev_t.

If people seriously want to bring back the crap, then I can
design something tolerable. It would support mmap MAP_SHARED,
allowing live updates so that "top" can work nicely.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-07-09 21:59    [W:0.050 / U:4.732 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site