Ok. Thank you.. By the way, it would be nice to have the option to add NAS storage by default in future firmwares without having to "Hammer" system files. No dia 05/12/2012 17:50, "Matthijs Kooijman - Fon" < [email protected]> escreveu:
> Hi FM< > > > I then suspected some "remove everything in /var" script or program that > > runs during boot, but I think I couldn't find the file responsible for > > this. I suspect you're seeing the same. > Found it! > > Mountd, the daemon responsible for mounting USB disks, is clearing out > /tmp/mounts when it starts: > > > http://trac.fonosfera.org/fon-ng/browser/trunk/fon/mountd/src/lib/autofs.c#L217 > > We should be able to rewrite this to use find -xdev -delete instead of > rm -rf, which should take care not to cross filesystem boundaries, so it > shouldn't delete anything from mounted filesystems. > > I just hacked up something to this effect, but it doesn't seem to be > working yet. I'll have a closer look in the morning and keep you posted. > > Regards, > > Matthijs Kooijman > > _______________________________________________ > Development mailing list > [email protected] > http://fonosfera.org/mailman/listinfo/development >
_______________________________________________ Development mailing list [email protected] http://fonosfera.org/mailman/listinfo/development
