Messages in this thread | | | Date | Sun, 21 Mar 2004 21:17:00 +0100 | From | Carl-Daniel Hailfinger <> | Subject | Re: [PATCH] fix tiocgdev 32/64bit emul |
| |
Christoph Hellwig wrote: > On Sun, Mar 21, 2004 at 08:57:58PM +0100, Carl-Daniel Hailfinger wrote: > >>Christoph: Have you looked at my question regarding >>/sys/class/tty/console/dev ? > > > No, I'll leave that to Greg. If you want my 2 (Euro-) Cent I'd rather avoid > exposing a dev_t to userspace wherever possible.
Understood. Especially since the recent upsizing of dev_t broke applications trying to be too clever about dev_t. However, look at this:
# cat /sys/class/tty/console/dev 5:1
Does this major:minor textfile export address your concerns?
Regards, Carl-Daniel
- 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/
| |