Reducing writes to flash
Posted: Thu Jul 26, 2012 3:30 am
ok - so I finally figured out what the numbers meant in the docs about the crontabs line.. So I changed it to what will show in the following, and also changed the webmon and time_backup ones too. ::
I'm hoping this means once a week - and every 12 hours for the time_backup. (I have the Netgear WNDR3800 with 128MB of RAM, so I'd like to make use of that. )
However, I do worry about that 'time_backup' one still. I'm too worried about making that one less often in case anything else depends heavily on it being absolutely correct. (i.e. Would once a week be ok for that one too?)
Also, is there anything else I may be able to change that writes to the flash often? For instance: I'd like to turn on the websearch data-gathering, but I don't want it writing to flash all the time (if at all even). That kind of data is just a curiosity to me.
(I also have the router on a UPS backup, so I'm not too worried about that either.)
I hope this won't break anything.. Please let me know if it will.
And am I guessing correctly that the only directory that is attached to RAM is the /tmp directory?
Thanks.
Code: Select all
0 0,12 * * * date -u +"%Y.%m.%d-%H:%M:%S" >/usr/data/time_backup
0,1,11,21,31,41,51 * * * * /usr/bin/set_kernel_timezone >/dev/null 2>&1
0 0 * * 0 /tmp/bw_backup/do_bw_backup.sh
0 0 * * 0 /tmp/do_webmon_backup.sh
However, I do worry about that 'time_backup' one still. I'm too worried about making that one less often in case anything else depends heavily on it being absolutely correct. (i.e. Would once a week be ok for that one too?)
Also, is there anything else I may be able to change that writes to the flash often? For instance: I'd like to turn on the websearch data-gathering, but I don't want it writing to flash all the time (if at all even). That kind of data is just a curiosity to me.
(I also have the router on a UPS backup, so I'm not too worried about that either.)
I hope this won't break anything.. Please let me know if it will.
And am I guessing correctly that the only directory that is attached to RAM is the /tmp directory?
Thanks.