ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] What's difference between using RamDisk to load USB and using chroot to USB
From: Joe Bouchard <>
Date: Mon, 27 Nov 2006 20:33:22 -0500
On Mon, Nov 27, 2006 at 11:14:54PM -0000, chentom60 wrote:
> Hello,
> 
> After 7250 boots up, I am using "loadUSBModules.sh" and "loadUSB.sh" to 
> chroot to USB file system. I am wondering what is the difference 
> between this method and using RamDisk to boot to a mini file system 
> first then pivot root to USB? Are they virtually same thing?

Let me give you another scenerio which might make a good example.  I have a
bootable linux CD, aka Timos rescue disk, which I can use on a regular Intel PC.
When it starts it says "do you want to (a) run from CD, or (b) load the whole
O/S into RAM."  If I run from CD when I issue commands it hunts the CD for the
executables, but if I load it all into RAM, I can remove the CD, and the whole
O/S runs from RAM.  The first case requires the CD, but not much RAM.  The
second case requires the CD only long enough to load an image into RAM, then it
takes a lot of RAM.

Once you chroot to something else, you end up in the place you chroot'ed to, and
it matters little how you got there, so you might say it is virtually the same
thing.  One other difference is that you have to take deliberate steps to free
up the RAM you tied up with the RamDisk.  I presume TSlinux does this for you.

> 
> Is using USB,CF drive a safe way to work around the limitation of on 
> board flash memory? 
> 

On my TS-7200 I routinely use a CF card as my main disk instead of the the tiny
onboard flash because I want a full featured O/S like I have on my PC.  For
safety I use ext3 and mount read-only during "production" (aka when user will
cycle power at will).  I've never had any issues.

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