How to label a GELI device

J. Porter Clark jpc at
Tue Jan 25 02:00:29 UTC 2011

I have an encrypted partition, /dev/da0s1d.  I can use geli
attach da0s1d and obtain a device /dev/da0s1d.eli, which is a
UFS filesystem.  All that works just fine.

I'd like to label /dev/da0s1d so that I don't have to refer to
the exact drive number, etc., which might change if I reboot
with a USB stick in the system or whatever.  But glabel puts the
label in the last sector, which is where GELI stores metadata.

So, how do I make this work?

J. Porter Clark      <jpc at>

More information about the freebsd-questions mailing list