--- 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/
|