Re: [OpenWrt-Devel] flash wearout v2

2011-06-06 Thread Peter Wagner
Am Montag, 6. Mai 2011, 07:09:43 schrieb Philip Prindeville: > On 6/5/11 11:10 AM, Peter Wagner wrote: > > Am Sonntag, 5. Mai 2011, 20:02:13 schrieb Peter Wagner: > >> Am Sonntag, 5. Mai 2011, 19:54:22 schrieb Peter Wagner: > >>> Am Freitag, 3. Mai 2011, 04:11:43 schrieb Philip Prindeville: >

Re: [OpenWrt-Devel] flash wearout

2011-06-06 Thread Alexander Gordeev
В Sun, 05 Jun 2011 22:08:01 -0700 Philip Prindeville пишет: > On 6/5/11 10:54 AM, Peter Wagner wrote: > > Am Freitag, 3. Mai 2011, 04:11:43 schrieb Philip Prindeville: > >> On 5/31/11 10:48 AM, Peter Wagner wrote: > >>> Am Dienstag, 31. Mai 2011, 17:52:58 schrieb Philip Prindeville: > On 5/3

Re: [OpenWrt-Devel] flash wearout v2

2011-06-05 Thread Philip Prindeville
On 6/5/11 11:10 AM, Peter Wagner wrote: > Am Sonntag, 5. Mai 2011, 20:02:13 schrieb Peter Wagner: >> Am Sonntag, 5. Mai 2011, 19:54:22 schrieb Peter Wagner: >>> Am Freitag, 3. Mai 2011, 04:11:43 schrieb Philip Prindeville: On 5/31/11 10:48 AM, Peter Wagner wrote: > Am Dienstag, 31. Mai 201

Re: [OpenWrt-Devel] flash wearout

2011-06-05 Thread Philip Prindeville
On 6/5/11 10:54 AM, Peter Wagner wrote: > Am Freitag, 3. Mai 2011, 04:11:43 schrieb Philip Prindeville: >> On 5/31/11 10:48 AM, Peter Wagner wrote: >>> Am Dienstag, 31. Mai 2011, 17:52:58 schrieb Philip Prindeville: On 5/30/11 4:00 PM, Peter Wagner wrote: > Hi, > > while i was read

Re: [OpenWrt-Devel] flash wearout v2

2011-06-05 Thread Peter Wagner
Am Sonntag, 5. Mai 2011, 20:02:13 schrieb Peter Wagner: > Am Sonntag, 5. Mai 2011, 19:54:22 schrieb Peter Wagner: > > Am Freitag, 3. Mai 2011, 04:11:43 schrieb Philip Prindeville: > > > On 5/31/11 10:48 AM, Peter Wagner wrote: > > > > Am Dienstag, 31. Mai 2011, 17:52:58 schrieb Philip Prindeville:

Re: [OpenWrt-Devel] flash wearout

2011-06-05 Thread Peter Wagner
Am Sonntag, 5. Mai 2011, 19:54:22 schrieb Peter Wagner: > Am Freitag, 3. Mai 2011, 04:11:43 schrieb Philip Prindeville: > > On 5/31/11 10:48 AM, Peter Wagner wrote: > > > Am Dienstag, 31. Mai 2011, 17:52:58 schrieb Philip Prindeville: > > >> On 5/30/11 4:00 PM, Peter Wagner wrote: > > >>> Hi, > > >

Re: [OpenWrt-Devel] flash wearout

2011-06-05 Thread Peter Wagner
Am Freitag, 3. Mai 2011, 04:11:43 schrieb Philip Prindeville: > On 5/31/11 10:48 AM, Peter Wagner wrote: > > Am Dienstag, 31. Mai 2011, 17:52:58 schrieb Philip Prindeville: > >> On 5/30/11 4:00 PM, Peter Wagner wrote: > >>> Hi, > >>> > >>> while i was reading some init files i stumbled upon this:

Re: [OpenWrt-Devel] flash wearout

2011-06-02 Thread Philip Prindeville
On 5/31/11 10:48 AM, Peter Wagner wrote: > Am Dienstag, 31. Mai 2011, 17:52:58 schrieb Philip Prindeville: >> On 5/30/11 4:00 PM, Peter Wagner wrote: >>> Hi, >>> >>> while i was reading some init files i stumbled upon this: >>> >>> /sbin/wifi detect >> /etc/config/wireless >>> >>> grep -qs config /

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Peter Wagner
Am Dienstag, 31. Mai 2011, 17:52:58 schrieb Philip Prindeville: > On 5/30/11 4:00 PM, Peter Wagner wrote: > > Hi, > > > > while i was reading some init files i stumbled upon this: > > > > /sbin/wifi detect >> /etc/config/wireless > > > > grep -qs config /etc/config/wireless && { > > > > /sb

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Philip Prindeville
On 5/30/11 4:00 PM, Peter Wagner wrote: > Hi, > > while i was reading some init files i stumbled upon this: > > /sbin/wifi detect >> /etc/config/wireless > > grep -qs config /etc/config/wireless && { > /sbin/wifi up > } || { > rm -f /etc/config/wireless > } > > this means: > >> /sb

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Ithamar R. Adema
On Tue, 2011-05-31 at 10:14 -0300, Stefan Monnier wrote: > > This is assuming the theoretical story is correct in practice. In > > practice, I've seen flashes (especially NAND, but also NOR) die a > lot > > sooner then that especially in cheap consumer hardware :( > > But these cases aren't av

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Marco Antonio Mauro
On Tue, May 31, 2011 at 3:14 PM, Stefan Monnier wrote: >> This is assuming the theoretical story is correct in practice. In >> practice, I've seen flashes (especially NAND, but also NOR) die a lot >> sooner then that especially in cheap consumer hardware :( > > But these cases aren't avoided b

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Stefan Monnier
> This is assuming the theoretical story is correct in practice. In > practice, I've seen flashes (especially NAND, but also NOR) die a lot > sooner then that especially in cheap consumer hardware :( But these cases aren't avoided by writing less. Stefan

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Peter Wagner
Am Dienstag, 31. Mai 2011, 13:29:59 schrieb Ithamar R. Adema: > Hi, > > On Tue, 2011-05-31 at 11:44 +0300, Vasilis Tsiligiannis wrote: > > They typically last more than 100,000 program/erase cycles so I don't > > think you will have a problem in the first 150 years of use. > > This is assuming th

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Ithamar R. Adema
Hi, On Tue, 2011-05-31 at 11:44 +0300, Vasilis Tsiligiannis wrote: > They typically last more than 100,000 program/erase cycles so I don't > think you will have a problem in the first 150 years of use. This is assuming the theoretical story is correct in practice. In practice, I've seen flashes (

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Sven Bachmann
Hi, thumbs up for catching this. In my opinion it doesn't matter how often the device is booted, because its possible that this is not the only occurence where writing to the flash was not necessary. So the less write access we have, the better it is. As a suggestion, 'help test' shows that an no

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Vasilis Tsiligiannis
Στις Τρι 31 Μαΐ 2011 11:03:10 Alexander Gordeev γράψατε: > Once or twice per day is enough? > I have a small router with a battery and USB port which you can plug > any USB 3g/4g modem in. It's quite handy to bring it with you and turn > on/off only when you need it. They typically last more than

Re: [OpenWrt-Devel] flash wearout

2011-05-31 Thread Alexander Gordeev
В Mon, 30 May 2011 18:38:00 -0700 Philip Prindeville пишет: > How often are you booting that this is even a concern? Once or twice per day is enough? I have a small router with a battery and USB port which you can plug any USB 3g/4g modem in. It's quite handy to bring it with you and turn on/off

Re: [OpenWrt-Devel] flash wearout

2011-05-30 Thread Philip Prindeville
How often are you booting that this is even a concern? On 5/30/11 4:00 PM, Peter Wagner wrote: > Hi, > > while i was reading some init files i stumbled upon this: > > /sbin/wifi detect >> /etc/config/wireless > > grep -qs config /etc/config/wireless && { > /sbin/wifi up > } || { >

[OpenWrt-Devel] flash wearout

2011-05-30 Thread Peter Wagner
Hi, while i was reading some init files i stumbled upon this: /sbin/wifi detect >> /etc/config/wireless grep -qs config /etc/config/wireless && { /sbin/wifi up } || { rm -f /etc/config/wireless } this means: > /sbin/wifi detect >> /etc/config/wireless /sbin/wifi only outputs s