--- In "hamishavery" <> wrote:
>
> Hi all,
>
> I am using the TS7260 and I want to set it up so that we can send
> customers new SD cards that they can simply swap out for upgrades.
>
> My desire is to thus put the kernel, root filesystem image and data
> files all onto the SD card. On boot, redboot loads a basic kernel and
> minimal root filesystem from the (write protected) onboard flash.
> This would then use the 'bootload' command to switch to the full
> kernel and load the full filesystem into a ramdisk. I want to use a
> ramdisk for my entire root filesystem so I can write files as I please
> with no risk of wearing out the SD card. It is also faster reading
> from the RAM, as I am writing data to the SD card continuously.
>
Google for tmpfs, then rebuild your kernel if needed.
Build your tmpfs by copying all volatile files from the SD to it and
then rw to your heart's content. You probably want one tmpfs for /tmp
and one for /dev.
That's what we do; it works quite well. We build /dev and /tmp on the
fly at boot, populating them with all sorts of stuff. Then we use
symlinks on the ro / system to link up to the rw files on /tmp.
Works fine.
--Yan
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|