On Tue, 31 Dec 2013 19:14:36 -0700, Joseph wrote: > If I remove the mounting line from fstab they mount with correct > permission "joseph:users" but the mount point is reference as UUID and > it makes it hard to reference it in bash scripts.
MOUNTPOINT=$(mount | awk '/^\/dev\/sdb1/ {print $3}') Then you can let the automounter take care of everything for you. If you use /etc/fstab, the device is mounted as root, but because you have a mixture of filesystems you can specify the correct options for one without breaking another. It is far simpler to let the automounter take care of all of this and just handle the movable mount point. There is probably a udisks option that sets the mount point to the device name rather than the volume name or UUID, good luck finding it :) -- Neil Bothwick Exercise daily. Eat wisely. Die anyway.
signature.asc
Description: PGP signature