Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I'm trying to configure


to automount external CDs and USB drives. It worked fine until I reinserted a USB drive; it got renamed from sdb to sdc.

How can I anticipate such changes in my configuration file?

# This is an automounter map and it has the following format 
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/cdrom
floppy -fstype=auto,async,nodev,nosuid,umask=000 :/dev/fl
usbstick1 -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sda1
usbstick2 -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sdb1
share|improve this question

You must log in to answer this question.

Browse other questions tagged .