ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: What's difference between using RamDisk to load USB an

To:
Subject: Re: [ts-7000] Re: What's difference between using RamDisk to load USB and using chroot to USB
From: Joe Bouchard <>
Date: Tue, 28 Nov 2006 19:37:31 -0500
On Tue, Nov 28, 2006 at 11:15:09PM -0000, chentom60 wrote:
> Joe,
> 
> Thanks! 
> 
> I also enjoy using debian on a huge USB drive rather, but I keep 
> wondering if this is safe or not. Very good explanation! 
> 
> One more question, if you mount a read-only file system, how can you 
> save something later on? for example, if the file system is read 
> only, how could you create some temperary files duing the operation? 
> Is it possible to make /bin read only but /tmp read-write? 

On my TS-7200 I create a small ramdisk (like 100kb I think), which is used for
/tmp and /var/run in read/write mode.  I can't remember the details really, but
basically I just followed the instructions in the TS developer's manual.  The
default kernel doesn't include tmpfs, but my rebuild does.  If you don't want to
rebuild the kernel, I've used the flashram for /tmp, etc.  When the SBC is
running in production, it doesn't need to write to disk, or maintain anything
between reboots (per my requirements).

If I need to make a manual change (like edit a configuration file), I just
"mount / -o remount,rw", do the change, and "mount / -o remount,ro", but in
production /rootfs stays readonly.

Hope that helps.

Joe


 
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