Howdy,
A common mistake is that people forget to create the data files required by bandwidth monitoring. This currently has to be specifically set to Yes on the webui when setting a new storage location.
I was considering having the firmware automatically create the data file if it has a custom location and it can't find the data file. One drawback of this would be that if you misconfigured your data location or something, then the router would create a new data file in the incorrect location, and it would be harder for people to track down the issue. They might end up then having two different data files if their USB disk changes mount location between reboots, for example. Currently, they would get some log spam stating that the router is unable to find the data file, versus what would be one single "new datafile created" entry that would be logged only on the first boot.
One thing I would do however is ensure that the data file does NOT get automatically created if located in JFFS, to avoid unnecessary wear of the internal flash in case of an accidentaly location change by the user.
Thoughts on this?
A common mistake is that people forget to create the data files required by bandwidth monitoring. This currently has to be specifically set to Yes on the webui when setting a new storage location.
I was considering having the firmware automatically create the data file if it has a custom location and it can't find the data file. One drawback of this would be that if you misconfigured your data location or something, then the router would create a new data file in the incorrect location, and it would be harder for people to track down the issue. They might end up then having two different data files if their USB disk changes mount location between reboots, for example. Currently, they would get some log spam stating that the router is unable to find the data file, versus what would be one single "new datafile created" entry that would be logged only on the first boot.
One thing I would do however is ensure that the data file does NOT get automatically created if located in JFFS, to avoid unnecessary wear of the internal flash in case of an accidentaly location change by the user.
Thoughts on this?