[CUWiN-Dev] ipfilter

Bill Comisky bcomisky at pobox.com
Thu May 12 23:18:44 CDT 2005


On Thu, 12 May 2005, Bryan Cribbs wrote:

> * Bryan Cribbs <bdcribbs at ojctech.com> :
>> when you change the config, you then have to copy the file to
>> it's mirror in /permanent/etc/
>
> A further gotcha: if you change things in /permanent:
> often after the next reboot the most recently written
> file ends up being empty (even if you sync).  This is
> problem with way the OS writes to the flash, I think,
> but honestly I don't understand why it happens.
>
> I've avoided this in an embarrasingly hackish way (after
> I write /etc/permanent/x.conf I immediately do a
> "cp /permanent/etc/x.conf /permanent/etc/garbage" so that
> the victim of the bug is the garbage file).
>

Thanks for the heads up.. I don't think I've been bitten by this before. 
I usually remember about copying to /permanent after I reboot once and 
lose my changes :)

bill

--
Bill Comisky
bcomisky at pobox.com


More information about the CU-Wireless-Dev mailing list