Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-25 Thread Johnny Hung
2010/1/25 Chris Simmonds ch...@2net.co.uk: Johnny Hung wrote: 2010/1/22 Marco Stornelli marco.storne...@gmail.com: 2010/1/22 Johnny Hung johnny.hack...@gmail.com: 2010/1/20 Marco Stornelli marco.storne...@gmail.com: 2010/1/20 Johnny Hung johnny.hack...@gmail.com: 2010/1/19 Matthias

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-25 Thread Chris Simmonds
Johnny Hung wrote: 2010/1/22 Marco Stornelli marco.storne...@gmail.com: 2010/1/22 Johnny Hung johnny.hack...@gmail.com: 2010/1/20 Marco Stornelli marco.storne...@gmail.com: 2010/1/20 Johnny Hung johnny.hack...@gmail.com: 2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19,

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-24 Thread Johnny Hung
2010/1/22 Marco Stornelli marco.storne...@gmail.com: 2010/1/22 Johnny Hung johnny.hack...@gmail.com: 2010/1/20 Marco Stornelli marco.storne...@gmail.com: 2010/1/20 Johnny Hung johnny.hack...@gmail.com: 2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 02:17:22PM +0100

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-22 Thread Marco Stornelli
2010/1/22 Johnny Hung johnny.hack...@gmail.com: 2010/1/20 Marco Stornelli marco.storne...@gmail.com: 2010/1/20 Johnny Hung johnny.hack...@gmail.com: 2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 02:17:22PM +0100 Ricard Wanderlof ha dit: I consider to use ramdisk

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-21 Thread Johnny Hung
2010/1/20 Ricard Wanderlof ricard.wander...@axis.com: On Wed, 20 Jan 2010, Johnny Hung wrote: i'd also recommend you to consider if you really need the ramdisk. when using a ram disk its entire content is loaded to the RAM occupying space, even if you don't use certain files (or part of

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-21 Thread Johnny Hung
2010/1/20 Marco Stornelli marco.storne...@gmail.com: 2010/1/20 Johnny Hung johnny.hack...@gmail.com: 2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 02:17:22PM +0100 Ricard Wanderlof ha dit: I consider to use ramdisk as rootfs because worry about wrong operation in

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-20 Thread Marco Stornelli
2010/1/20 Johnny Hung johnny.hack...@gmail.com: 2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 02:17:22PM +0100 Ricard Wanderlof ha dit: I consider to use ramdisk as rootfs because worry about wrong operation in rootfs (is use jffs2 rootfs) and it will cause system

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-20 Thread Matthias Kaehlcke
El Wed, Jan 20, 2010 at 08:57:44AM +0100 Marco Stornelli ha dit: 2010/1/20 Johnny Hung johnny.hack...@gmail.com: 2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 02:17:22PM +0100 Ricard Wanderlof ha dit: I consider to use ramdisk as rootfs because worry about

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-20 Thread Marco Stornelli
2010/1/20 Matthias Kaehlcke matth...@kaehlcke.net: El Wed, Jan 20, 2010 at 08:57:44AM +0100 Marco Stornelli ha dit: 2010/1/20 Johnny Hung johnny.hack...@gmail.com: 2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 02:17:22PM +0100 Ricard Wanderlof ha dit: I

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-19 Thread Johnny Hung
2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 05:20:53PM +0800 Johnny Hung ha dit: 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

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-19 Thread Matthias Kaehlcke
El Tue, Jan 19, 2010 at 06:13:07PM +0800 Johnny Hung ha dit: 2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 05:20:53PM +0800 Johnny Hung ha dit: I have build an embedded Linux system and rootfs is a ramdisk. Ramdisk rootfs resides in memory so modify files is

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-19 Thread Matthias Kaehlcke
El Tue, Jan 19, 2010 at 05:20:53PM +0800 Johnny Hung ha dit: 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

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-19 Thread Ricard Wanderlof
On Tue, 19 Jan 2010, Johnny Hung wrote: Okay, I think the steps is below if my rootfs is ramdisk and configure files in jffs2, 1. cp /etc/* /mnt/mtd/etc/(/mnt/mtd is my jffs2 fs) 2. rm -rf /etc/* 3. make symbolic links from all /etc/xx to /mnt/mtd/etc/xxx 4. remake ramdisk rootfs It

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-19 Thread Johnny Hung
2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 02:17:22PM +0100 Ricard Wanderlof ha dit: On Tue, 19 Jan 2010, Johnny Hung wrote: Okay, I think the steps is below if my rootfs is ramdisk and configure files in jffs2, 1. cp /etc/* /mnt/mtd/etc/    (/mnt/mtd is my

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-19 Thread Matthias Kaehlcke
El Wed, Jan 20, 2010 at 10:32:15AM +0800 Johnny Hung ha dit: 2010/1/19 Matthias Kaehlcke matth...@kaehlcke.net: El Tue, Jan 19, 2010 at 02:17:22PM +0100 Ricard Wanderlof ha dit: On Tue, 19 Jan 2010, Johnny Hung wrote: Okay, I think the steps is below if my rootfs is ramdisk and

Re: mount ramdisk rootfs /etc directory to jffs2 filesystem.

2010-01-19 Thread Matthias Kaehlcke
El Wed, Jan 20, 2010 at 08:15:01AM +0100 Ricard Wanderlof ha dit: On Wed, 20 Jan 2010, Johnny Hung wrote: i'd also recommend you to consider if you really need the ramdisk. when using a ram disk its entire content is loaded to the RAM occupying space, even if you don't use certain files (or