Ubuntu Automount by Label

autofsautomountmountUbuntu

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?

Best Answer

I figured it out:

mylabel    -fstype=ext3    :/dev/disk/by-label/mylabel
Related Question