[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1244970445.3468.2732.camel@macbook.infradead.org>
Date: Sun, 14 Jun 2009 10:07:25 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: Marco <marco.stornelli@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Linux FS Devel <linux-fsdevel@...r.kernel.org>,
Linux Embedded <linux-embedded@...r.kernel.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Daniel Walker <dwalker@....ucsc.edu>
Subject: Re: [PATCH 04/14] Pramfs: Mounting as root filesystem
On Sun, 2009-06-14 at 10:21 +0200, Marco wrote:
>
> Mmm...MEM_MAJOR and RAMDISK_MAJOR have the same value and pramfs works
> in memory. We could simply use /dev/null (there was an error in the
> submitted kconfig description, my intention was to use /dev/mem). In
> that case I can use UNNAMED_MAJOR. PRAMFS root option is not enabled
> if it's already enabled the NFS one. What do you think?
Why use a major number at all? See how we handle mtd and ubi devices in
prepare_namespace() -- can't you do something similar?
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@...el.com Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists