linux-mips
[Top] [All Lists]

Re: Enabling JFFS as Root FS

To: rkota@broadcom.com
Subject: Re: Enabling JFFS as Root FS
From: David VomLehn <dvomlehn@cisco.com>
Date: Thu, 15 May 2008 10:27:47 -0700
Authentication-results: sj-dkim-1; header.From=dvomlehn@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; );
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; l=972; t=1210872482; x=1211736482; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dvomlehn@cisco.com; z=From:=20David=20VomLehn=20<dvomlehn@cisco.com> |Subject:=20Re=3A=20Enabling=20JFFS=20as=20Root=20FS |Sender:=20; bh=5r6F4LuS/k5zPt3LXYtcxKQZPvg16qyCXvkHTsEr3EM=; b=TTSyW1CYfQ/7xxpD95whYAzZbAqGdtFc/miOOt0vMDThPEKzqpDTC6B6zJ 8CltwM7OACxjDP4v0+FBqFvPehxJkZsA8lAKZwtoxuLm7qpAi9yeXi3sawRh rAzS/XukLWNzhYq1oCHWuKmSgW95p3wRClEKWP9SV0mQeuLF7fpuk=;
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
Hi Remgopal,

On Wed, May 14, 2008 at 08:58:47AM -0700, Ramgopal Kota wrote:
Now I want to have the rootfs (jffs) on flash. Is there any document which tells me how to do that ?

As a learning exercise you could start by reading the Filesystem Hierarchy 
Standard: http://www.pathname.com/fhs/. This is a great document to give you 
some insight into a Unix filesystem.
...

In addition, you should know that the kernel and device drivers may automatically create device special files in the /dev directory. The mtd layer is one of the components that does this. Automatic /dev file creation is normally done through the kernel hotplug framework. You can read more about this at kernel.org (http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html) or the Wikipedia article http://en.wikipedia.org/wiki/Udev.
--
David VomLehn, dvomlehn@cisco.com
The opinions expressed herein are likely mine, but might not be my employer's...


<Prev in Thread] Current Thread [Next in Thread>
  • Re: Enabling JFFS as Root FS, David VomLehn <=