From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz0-f192.google.com ([209.85.222.192]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NXAGd-0001JA-E2 for linux-mtd@lists.infradead.org; Tue, 19 Jan 2010 09:21:00 +0000 Received: by pzk30 with SMTP id 30so957221pzk.24 for ; Tue, 19 Jan 2010 01:20:53 -0800 (PST) MIME-Version: 1.0 Date: Tue, 19 Jan 2010 17:20:53 +0800 Message-ID: Subject: mount ramdisk rootfs /etc directory to jffs2 filesystem. From: Johnny Hung To: linux-embedded@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mtd@lists.infradead.org, kernelnewbies Content-Type: text/plain; charset=ISO-8859-1 List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi ALL, I have build an embedded Linux system and rootfs is a ramdisk. Ramdisk rootfs resides in memory so modify files is non-effective after a reboot. Some directories in rootfs, like /etc, /usr, ... are contain many application configuration files and I want to mount it to jffs2 flash filesysyem so it will take effect after a reboot. Is it possible? I know the flash has write times limited so the log files (syslogd/klogd) should not store in flash. In general, how to deploy root file system for embedded linux with flash storage? H. Johnny