View Single Post
Old 08-06-2016, 10:17 AM   #41
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
Originally Posted by NiLuJe View Post
(AFAICT, that loop0 udev trick is used in a number of Kobo packages (David Beinder's kobo-nightmode and Andreas Klauer's AutoPatch, for instance),
no idea who got the idea first ).
While playing around with the "windows doesn't detect kobo usb storage" problem, I noticed there is a huge downside to this trick... when using losetup on the Kobo to create loop devices, it's triggered again and again (unless you use loop1 instead of loop0 as a loop device, ...). So mods that don't check if their scripts were already running, suddenly have multiple instances, and other side effects.

Maybe mods should switch to something else after all... or ignore "change" events for loop0.
frostschutz is offline   Reply With Quote