Re: RFC: swapon(8) vnode-backed md and gbde/geli encryption support

2013-06-27 Thread Chris Rees
On 27 Jun 2013, at 09:06, Hiroki Sato wrote: > Hiroki Sato wrote > in <20130623.035356.644417021040610458@allbsd.org>: > > hr> Hi, > hr> > hr> I created a patchset to add support of automatic generation of > hr> vnode-backed md(4) devices and gbde/geli geom providers to swapon(8) > hr> v

Re: RFC: swapon(8) vnode-backed md and gbde/geli encryption support

2013-06-27 Thread Hiroki Sato
Hiroki Sato wrote in <20130623.035356.644417021040610458@allbsd.org>: hr> Hi, hr> hr> I created a patchset to add support of automatic generation of hr> vnode-backed md(4) devices and gbde/geli geom providers to swapon(8) hr> via /etc/fstab. We already have equivalent functionality by u

Re: RFC: swapon(8) vnode-backed md and gbde/geli encryption support

2013-06-23 Thread Hiroki Sato
Scot Hetzel wrote in : sw> The only thing I see is that you are hard coding the geli_swap_flags sw> (i.e. -e aes -l 256 -s 4096 -d) into swapon. It would be better to sw> have swapon read the /etc/fstab file to get these values: sw> sw> /dev/ada1p2.elinoneswap sw> sw,ealgo=aes,keyl

Re: RFC: swapon(8) vnode-backed md and gbde/geli encryption support

2013-06-23 Thread Scot Hetzel
On Sat, Jun 22, 2013 at 1:53 PM, Hiroki Sato wrote: > Hi, > > I created a patchset to add support of automatic generation of > vnode-backed md(4) devices and gbde/geli geom providers to swapon(8) > via /etc/fstab. We already have equivalent functionality by using > rc.d scripts. This simplif

RFC: swapon(8) vnode-backed md and gbde/geli encryption support

2013-06-22 Thread Hiroki Sato
Hi, I created a patchset to add support of automatic generation of vnode-backed md(4) devices and gbde/geli geom providers to swapon(8) via /etc/fstab. We already have equivalent functionality by using rc.d scripts. This simplifies rc.d scripts and fixes a race between mdconfig/gbde/geli an