Re: [PATCH] fix tiocgdev 32/64bit emul

From: Carl-Daniel Hailfinger
Date: Sun Mar 21 2004 - 15:19:29 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/