Quote:
Originally Posted by eschwartz
knc1,
Why a udev rule? What is wrong with `while true; do touch /media/Kindle/DO_FACTORY_RESTORE; done`?
Anyway, what does the udev rule do if the filesystem isn't mounted yet (which isn't instantaneous, and therefore will probably be a genuine problem)?
|
The loop is very often fast enough.
The udev rule is faster, more certain and those also 'fire' when a file system is mounted (detected) not just when the hardware bus changes.
But there could be distribution differences that would prevent a 'universal' solution.
Maybe someone could post a version of that loop for Chinese-Windows.
That is where many people have boot-loop'd PW3W devices.