From: "Christopher Hoover" <ch@murgatroid.com>
To: "'David Woodhouse'" <dwmw2@infradead.org>,
"'Christopher Hoover'" <ch@hpl.hp.com>
Cc: <linux-arm-kernel@lists.arm.linux.org.uk>,
<linux-mtd@lists.infradead.org>
Subject: RE: 2.5.7{,-rmk1}: jffs2 on root patch
Date: Wed, 3 Apr 2002 11:05:59 -0800 [thread overview]
Message-ID: <003b01c1db42$974f84e0$7b00000a@SNAGGLE> (raw)
In-Reply-To: <19796.1017797325@redhat.com>
I discovered that with vanilla 2.5.7, the kernel will indeed mount a
jffs root, if you do:
root=/dev/mtdblockX rootfstype=jffs2
[
as opposed to simply:
root=/dev/mtdblockX
which work just fined prior to 2.5.7
]
The "rootfstype=jffs2" part is *mandatory*, because
do_mounts.c:get_fs_names(), which computes which filesystems should be
attempted for the root partitition, skips any filesystem, such as jffs2,
that is "nodev."
-ch
> -----Original Message-----
> From: linux-mtd-admin@lists.infradead.org
> [mailto:linux-mtd-admin@lists.infradead.org] On Behalf Of
> David Woodhouse
> Sent: Tuesday, April 02, 2002 5:29 PM
> To: Christopher Hoover
> Cc: linux-arm-kernel@lists.arm.linux.org.uk;
> linux-mtd@lists.infradead.org
> Subject: Re: 2.5.7{,-rmk1}: jffs2 on root patch
>
>
>
> ch@hpl.hp.com said:
> > 2.5.7-rmk1 (and apparently any 2.5.7 kernel, hence the
> cross-posting)
> > requires the following patch, if you wish to use a jffs2
> file system
> > as your root. Without the patch, mount_block_root() won't
> attempt to
> > use jffs2.
>
> I don't like it. We don't require a block device, and I'd
> rather see the mechanism fixed to pass the 'root=' argument
> to the file system, so we can use the new mount-by-name
> functionality on the rootfs.
>
> --
> dwmw2
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo> /linux-mtd/
>
prev parent reply other threads:[~2002-04-03 19:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-02 21:28 2.5.7{,-rmk1}: jffs2 on root patch Christopher Hoover
2002-04-03 1:28 ` David Woodhouse
2002-04-03 19:05 ` Christopher Hoover [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='003b01c1db42$974f84e0$7b00000a@SNAGGLE' \
--to=ch@murgatroid.com \
--cc=ch@hpl.hp.com \
--cc=dwmw2@infradead.org \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-mtd@lists.infradead.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