I have configured minidlna to store its database on a separate partition on my USB disk (loosely based on this post). I was hoping that this would stop minidlna from rebuilding the index every time the router is rebooted, but unfortunately, it did not. On every boot, minidlna simply deletes the existing database and builds a new one.
Does anyone know a way to prevent this behaviour? I mean, I know it is possible that someone connects the USB disk to a PC after swichting off the router, messes around with some files, and then reconnects it, resulting in an out-of-sync database, but since I don't want to do anything like that, I would really like to be able to tell minidlna that when it finds a database at startup, it can just use that without rescanning.
I'm using an RT-N66U with Merlin 34_2_sdk5.
Does anyone know a way to prevent this behaviour? I mean, I know it is possible that someone connects the USB disk to a PC after swichting off the router, messes around with some files, and then reconnects it, resulting in an out-of-sync database, but since I don't want to do anything like that, I would really like to be able to tell minidlna that when it finds a database at startup, it can just use that without rescanning.
I'm using an RT-N66U with Merlin 34_2_sdk5.