From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: major/minor split
Date: 20 Mar 2003 16:04:58 -0800 [thread overview]
Message-ID: <b5dkva$mgc$1@cesium.transmeta.com> (raw)
In-Reply-To: Pine.LNX.4.44.0303210016360.5042-100000@serv
Followup to: <Pine.LNX.4.44.0303210016360.5042-100000@serv>
By author: Roman Zippel <zippel@linux-m68k.org>
In newsgroup: linux.dev.kernel
>
> I mean via mknod, e.g. if the user has a major/minor number, how should it
> be converted to a dev_t number?
>
Using MKDEV(). Basically, use the old format if it fits (for
compatibility), otherwise the new format.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
next prev parent reply other threads:[~2003-03-20 23:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-20 22:24 major/minor split Andries.Brouwer
2003-03-20 23:23 ` Roman Zippel
2003-03-21 0:04 ` H. Peter Anvin [this message]
2003-03-20 23:52 ` H. Peter Anvin
-- strict thread matches above, loose matches on Subject: below --
2003-03-21 7:35 Andries.Brouwer
2003-03-19 21:40 Andries.Brouwer
2003-03-20 21:00 ` Roman Zippel
2003-03-20 21:47 ` Joel Becker
2003-03-20 22:03 ` Joel Becker
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='b5dkva$mgc$1@cesium.transmeta.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox