ts-7000
[Top] [All Lists]

[ts-7000] Re: data logging without flash fatigue

To:
Subject: [ts-7000] Re: data logging without flash fatigue
From: "j.chitte" <>
Date: Fri, 04 Apr 2008 11:02:50 -0000
--- In  Jim Jackson <> wrote:
>
> 
> >
> > Just want to check I have not overlooked something and go happily
> > blasting my Flash with my data logging.
> >
> > I have htdocs on yaffs containing static files , I mount two 
subdirs,
> > data and data_images, mounted tmpfs where I will be writing once 
or
> > twice a minute. These are mounted with bind to ramdisk1/2
> >
> > $ mount
> > /dev/root on / type yaffs2 (rw)
> > none on /dev type devfs (rw)
> > proc on /proc type proc (rw)
> > none on /mnt/ramdisk1 type ramfs (rw)
> > none on /mnt/ramdisk2 type ramfs (rw)
> > none on /www/apache/htdocs/data type ramfs (rw)
> > none on /www/apache/htdocs/data_images type ramfs (rw)
> >
> > My main uncertainly was whether the parent htdocs would register 
a
> > change each time there's a write to htdocs/data
> >
> > Any wise councel?
> 
> Dunno about wise, but maybe it might update the access time, so 
make sure 
> you have your root mounted noatime, I do
> 
>   mount -o remount,noatime /
> 
> pretty early on in my /etc/rc.d/rcS.sysinit . Mount will show the 
change
> 
> /dev/root on / type ext2 (rw,noatime)
> 
> The atime stuff is pretty easy to test using ls -lu to make sure 
it hasn't 
> been updated.
> 
> However I _think_ stuff isn't touched.
>

Thanks for pointing out the remount. I'd just assumed jaffs2 was 
optimised to the extent it would not write atimes, never looked in 
detail to check.

ls -lu , coincindentally lu is french for read (past tense).

Good one.

Thx




------------------------------------

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