Take the 2-minute tour ×

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
add comment

1 Answer

up vote 2 down vote accepted

I figured it out:

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

Your Answer


