From: Taral <taral@taral.net>
To: linux-kernel@vger.kernel.org
Subject: tty->name conversion?
Date: Thu, 5 Jul 2001 02:36:47 -0500 [thread overview]
Message-ID: <20010705023647.A18014@taral.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
I noticed that ps still relies on device numbers to determine tty, since
/proc/*/stat only exports the device number. Is there any way to get the
device name? I noticed that it is not present in tty_struct anywhere
(proc_pid_stat() uses task->tty->device, which is a kdev_t).
This would be useful to consider if we ever intend to create real
unnumbered character/block devices.
--
Taral <taral@taral.net>
(This message is digitally signed. Please encrypt mail if possible.)
"Any technology, no matter how primitive, is magic to those who don't
understand it." -- Florence Ambrose
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
next reply other threads:[~2001-07-05 7:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-05 7:36 Taral [this message]
2001-07-13 17:43 ` tty->name conversion? Albert D. Cahalan
2001-07-13 19:34 ` Taral
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=20010705023647.A18014@taral.net \
--to=taral@taral.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox