lkml.org 
[lkml]   [2004]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: pts having the same device number.
Date
Followup to:  <40859891.8080208@dlfp.org>
By author: matthieu <mat_@dlfp.org>
In newsgroup: linux.dev.kernel
>
> Hello,
> on 2.6.4 I have seen that two pts device can have the same number :
> $ls -l /dev/pts/
> total 0
> crw--w---- 1 mat tty 136, 2 2004-04-20 23:15 2562
> crw--w---- 1 mat tty 136, 2 2004-04-20 23:15 2818
>
> Is that normal ?
>

Your libc or ls is old. They actually have the device numbers
136,2562 and 136,2818 but you only see the bottom 8 bits:

2562 & 255 = 2
2818 & 255 = 2

This doesn't affect proper operation, it just affects the output from
ls.

-hpa

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.393 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site