View Single Post
Old 10-26-2022, 05:30 AM   #29
NullNix
Guru
NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.
 
Posts: 929
Karma: 15576314
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
Quote:
Originally Posted by haertig View Post
@NullNix - Thanks for mentioning the udisksctl command. That is not a command that I have used before. I will read up and learn about it now. Your username made me smile, thinking of my early Unix days back in the 70's. And an old saying: "Follow not the null pointer, for madness and chaos await thee at it's end!" But in this case, you didn't lead to chaos, you pointed to a command I was not familiar with. Funny ... after over 50 years with Unix and Linux, I'm still learning new commands all the time!
I didn't discover udisksctl monitor until just now, when it occurred to me that Calibre wasn't installing udev rules so couldn't be hooking into that (instead it wants dbus messages), and that udev doesn't do automounting so something else must be doing it. A few seconds of grepping about in the massive pile of distro sources on my system and bingo, that's the culprit...

(and yeah, I follow null pointers and/or pointers to freed memory entirely too often. valgrind is a work of genius and madness and the single most useful debugging tool I have ever heard of.)
NullNix is offline   Reply With Quote