All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Miquel van Smoorenburg" <miquels@cistron.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: /dev/root: which approach ? [PATCH]
Date: Wed, 10 Mar 2004 20:52:28 +0000 (UTC)	[thread overview]
Message-ID: <c2nv6c$j5$2@news.cistron.nl> (raw)
In-Reply-To: 404F77F3.9070106@kolumbus.fi

In article <404F77F3.9070106@kolumbus.fi>,
Mika Penttilä  <mika.penttila@kolumbus.fi> wrote:
>
>>My question to the FS hackers: which one is the preferred approach?
>>
>>dev_root_alias.patch
>>
>>+	/* See if device is the /dev/root alias. */
>>+	if (dev == MKDEV(4, 1)) {
>
>what is this 4,1, a tty???

If it was a character device, yes. But it's a block device, and
major 4 isn't used yet. I just made it up, a major would need to
be allocated by LANANA ofcourse.

Mike.


  reply	other threads:[~2004-03-10 20:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-10 16:20 /dev/root: which approach ? [PATCH] Miquel van Smoorenburg
2004-03-10 20:01 ` Andrew Morton
2004-03-10 20:18   ` Miquel van Smoorenburg
2004-03-10 20:17 ` Mika Penttilä
2004-03-10 20:52   ` Miquel van Smoorenburg [this message]
2004-03-12  8:10     ` H. Peter Anvin
2004-03-10 21:01   ` Chris Wedgwood

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='c2nv6c$j5$2@news.cistron.nl' \
    --to=miquels@cistron.nl \
    --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.