From: hpa@zytor.com (H. Peter Anvin)
To: linux-kernel@vger.kernel.org
Subject: Re: pts having the same device number.
Date: Wed, 21 Apr 2004 02:51:50 +0000 (UTC) [thread overview]
Message-ID: <c64nk6$iu7$1@terminus.zytor.com> (raw)
In-Reply-To: 40859891.8080208@dlfp.org
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
prev parent reply other threads:[~2004-04-21 2:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-20 21:39 pts having the same device number matthieu
2004-04-21 2:51 ` H. Peter Anvin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='c64nk6$iu7$1@terminus.zytor.com' \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.