--- In "j.chitte" <> wrote:
>
> --- In Triffid Hunter <triffid_hunter@>
> wrote:
> >
> > On Sat, 29 Mar 2008, j.chitte wrote:
> >
> > > Hi,
> > >
> > > I am needing to log data once a second, although this is not
> enormous
> > > it seems sufficiently frequent to reduce long term life of the
> root
> > > fs on the onboard flash device (and hence effective board
death).
> > >
> > > I'd thought of creating a small ramdisk and setting up a cron
to
> save
> > > it every hour.
> > >
> > > Is there a better/alternative technique?
> > >
> > > Thanks for any suggestions from those who have found solution
to
> this
> > > issue. Also any caveats to be aware of (apart from the obvious
> > > turning off apache logs).
> > >
> > > TIA, jacques.
> >
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?
TIA /js
------------------------------------
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/
|