mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Samuelson <peter@cadcamlab.org>
To: Tigran Aivazian <tigran@veritas.com>
Cc: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject: Re: [patch-2.4.0-test13-pre3] rootfs boot param. support
Date: Mon, 18 Dec 2000 06:45:13 -0600	[thread overview]
Message-ID: <20001218064513.G3199@cadcamlab.org> (raw)
In-Reply-To: <Pine.LNX.4.21.0012111102480.801-100000@penguin.homenet> <Pine.LNX.4.21.0012181150060.840-100000@penguin.homenet>
In-Reply-To: <Pine.LNX.4.21.0012181150060.840-100000@penguin.homenet>; from tigran@veritas.com on Mon, Dec 18, 2000 at 11:56:47AM +0000


[Tigran Aivazian]
> +/* this can be set at boot time, e.g. rootfs=ext2 
> + * if set to invalid value or if read_super() fails on the specified
> + * filesystem type then mount_root() will go through all registered filesystems.
> + */
> +static char rootfs[128] __initdata = "ext2";

Better that we not hard-code anything here.  If we want ext2 to be
tried first, we should link it first, which we already do.

Peter

[hand-edited patch, may not be right!]

--- linux/fs/super.c	Tue Dec 12 09:25:22 2000
+++ rootfs/fs/super.c	Mon Dec 18 10:03:31 2000
@@ -63,7 +63,7 @@
  * if set to invalid value or if read_super() fails on the specified
  * filesystem type then mount_root() will go through all registered filesystems.
  */
-static char rootfs[128] __initdata = "ext2";
+static char rootfs[32] __initdata = "";
 
 int nr_super_blocks;
 int max_super_blocks = NR_SUPER;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-12-18 13:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.21.0012111102480.801-100000@penguin.homenet>
2000-12-18 11:56 ` Tigran Aivazian
2000-12-18 12:11   ` Andrzej Krzysztofowicz
2000-12-18 12:45   ` Peter Samuelson [this message]
2000-12-18 13:24     ` Tigran Aivazian
2000-12-18 15:12       ` Peter Samuelson
2000-12-18 15:21         ` Tigran Aivazian
2000-12-18 14:17 Andries.Brouwer
2000-12-18 15:22 ` Peter Samuelson
2000-12-18 15:36   ` Tigran Aivazian

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=20001218064513.G3199@cadcamlab.org \
    --to=peter@cadcamlab.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tigran@veritas.com \
    --cc=torvalds@transmeta.com \
    /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

all inboxes | Powered by JetHome®