Bing Zhao <bzhao@xxxxxxxxxxx> writes: >> The main question is why are we writing to /var and /tmp anyway instead >> of putting this in debugfs or sysfs? IMHO no sane wifi driver should _ever_ write anything to a file system. That's just evil. > AFAIK, the debugfs or sysfs cannot store/hold the files we retrieve > from firmware at the scene. We write fw_dump files to rootfs so that > the files are stored even if the system reboots due to hung_task > timeout. Can't you have a user space tool reading the sysfs file and store the file permanently? That way kernel is not involved in file system access at all. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html