When a usbdisk is connected to a linux box, A folder with usb label is created in /media and mounted. how is it done & how it works in backend. can anyone please explain.

Thanks Caterpillar.


udev is the key. Have a look at the files under /etc/udev/rules.d

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.