Re: How to label a GELI device

2011-01-25 Thread Nikos Vassiliadis
J. Porter Clark wrote: 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

Re: How to label a GELI device

2011-01-25 Thread J. Porter Clark
On Tue, Jan 25, 2011 at 10:45:52AM +0200, Nikos Vassiliadis wrote: J. Porter Clark wrote: 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

Re: How to label a GELI device

2011-01-25 Thread Rolf Nielsen
2011-01-25 15:07, J. Porter Clark skrev: On Tue, Jan 25, 2011 at 10:45:52AM +0200, Nikos Vassiliadis wrote: J. Porter Clark wrote: 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

Re: How to label a GELI device

2011-01-25 Thread J. Porter Clark
On Tue, Jan 25, 2011 at 03:29:37PM +0100, Rolf Nielsen wrote: Correct me if I'm wrong anyone. You need to first label da0s1d e.g. like so glabel label data da0s1d then geli init the labeled device e.g. like so geli init -l 256 -s 4096 label/data Unfortunately, this step

Re: How to label a GELI device

2011-01-25 Thread Rolf Nielsen
2011-01-25 19:13, J. Porter Clark skrev: On Tue, Jan 25, 2011 at 03:29:37PM +0100, Rolf Nielsen wrote: Correct me if I'm wrong anyone. You need to first label da0s1d e.g. like so glabel label data da0s1d then geli init the labeled device e.g. like so geli init -l 256 -s 4096 label/data

Re: How to label a GELI device

2011-01-25 Thread J. Porter Clark
On Tue, Jan 25, 2011 at 07:28:25PM +0100, Rolf Nielsen wrote: X-Spam-Level: 2011-01-25 19:13, J. Porter Clark skrev: On Tue, Jan 25, 2011 at 03:29:37PM +0100, Rolf Nielsen wrote: Correct me if I'm wrong anyone. You need to first label da0s1d e.g. like so glabel label data

Re: How to label a GELI device

2011-01-25 Thread Rolf G Nielsen
2011-01-25 19:37, J. Porter Clark skrev: On Tue, Jan 25, 2011 at 07:28:25PM +0100, Rolf Nielsen wrote: X-Spam-Level: 2011-01-25 19:13, J. Porter Clark skrev: On Tue, Jan 25, 2011 at 03:29:37PM +0100, Rolf Nielsen wrote: Correct me if I'm wrong anyone. You need to first label da0s1d e.g.

How to label a GELI device

2011-01-24 Thread J. Porter Clark
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