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

Ubuntu Server 9.10

I know that using the mount command, you can use -L to mount by label like so:

mount -L thelabel /media/themount

Is there any similar way to setup Automount / Autofs to mount by label name?

share|improve this question
related (neither are autofs specific, so they may not be duplicates):… and – quack quixote Mar 31 '10 at 13:43
up vote 2 down vote accepted

I figured it out:

mylabel    -fstype=ext3    :/dev/disk/by-label/mylabel
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .