Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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): superuser.com/questions/53978/… and superuser.com/questions/62483/automount-in-ubuntu-9-10 –  quack quixote Mar 31 '10 at 13:43

1 Answer 1

up vote 2 down vote accepted

I figured it out:

mylabel    -fstype=ext3    :/dev/disk/by-label/mylabel
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.