On 7/9/06, Russell King <[email protected]> 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 [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]