ts-7000
[Top] [All Lists]

[ts-7000] Re: running root filesystem from ramdisk

To:
Subject: [ts-7000] Re: running root filesystem from ramdisk
From: "Yan Seiner" <>
Date: Tue, 20 Feb 2007 22:01:03 -0000
--- 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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU