I would like to understand the flow of the USB events form the Kernel space to the User space (just out of my curiosity, in knowing how things are implemented).
To be more clear, I would like to know how does that pop-up comes in my desktop when I plug a USB drive to my system and how does the drive gets mounted.
I would also like to know how it finds out if some images are present in my USB and if "yes" , how it asks me whether I need to open it in GIMP or some other software?
I know its a very big and wide question, but please guide me with some pointers on how to understand the whole idea behind it.
I have not done large code browsings, but I assure you that I have no problem in doing so if I can be guided correctly.