Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Google is your friend. – John Gardeniers Jul 4 '09 at 7:47
up vote 3 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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