[pkg-cryptsetup-devel] UUID in fstab for device mapper devices?

Guido Günther agx at sigxcpu.org
Thu Sep 3 17:15:39 UTC 2009


On Wed, Sep 02, 2009 at 08:13:09PM +0200, Max Vozeler wrote:
> Hi Guido,
> 
> On Sun, Aug 09, 2009 at 01:32:42PM +0200, Guido Günther wrote:
> > What's the reasoning for using UUID= instead of /dev/disk/by-uuid/ in
> > fstab? Non udev systems?
> 
> I wanted to research this question, took me a bit.
> 
> The non-udev case you mentioned is the only reason I could 
> make out for going with UUID= rather than /dev/disk/by-uuid/.
In the multipath case we have to rely on udev anyway so we can easily
use the /dev/disk/by-uuid/ version.

> Those systems rely on mount using blkid to find the matching
> partition and mount only does it itself when the UUID=
> notation is used in fstab.
Which isn't the best thing to do with e.g. multipath and some other
solutions.
Cheers,
 -- Guido



More information about the pkg-cryptsetup-devel mailing list