Re: [lvm-team] Soliciting feature requests for development of an LVM library / API

2008-12-15 Thread David Zeuthen
On Mon, 2008-12-15 at 20:46 +, Alasdair G Kergon wrote: > On Mon, Dec 15, 2008 at 03:00:41PM -0500, David Zeuthen wrote: > > I'm not sure we want to extend the udev database; in my view it's > > supposed to be a small and efficient mechanism that allows one to > > annotate directories in /sys w

Re: [lvm-team] Soliciting feature requests for development of an LVM library / API

2008-12-15 Thread Alasdair G Kergon
On Mon, Dec 15, 2008 at 03:00:41PM -0500, David Zeuthen wrote: > I'm not sure we want to extend the udev database; in my view it's > supposed to be a small and efficient mechanism that allows one to > annotate directories in /sys with additional information that we collect > in user space. So we

Re: [lvm-team] Soliciting feature requests for development of an LVM library / API

2008-12-15 Thread Alasdair G Kergon
On Mon, Dec 15, 2008 at 09:20:55AM -0500, Dave Wysochanski wrote: > On Sat, 2008-12-13 at 15:23 +, Alasdair G Kergon wrote: > > On Sat, Dec 13, 2008 at 03:28:20PM +0100, Kay Sievers wrote: > > > On Sat, Dec 13, 2008 at 02:30, Dave Wysochanski > > > wrote: > > > > Note that by scanning a singl

Re: [lvm-team] Soliciting feature requests for development of an LVM library / API

2008-12-15 Thread David Zeuthen
On Mon, 2008-12-15 at 19:45 +, Alasdair G Kergon wrote: > Remind me - why does udev want to know about 'target type'? The question is not so much why "udev" wants to know about it. Keep in mind that udev is just a mechanism (a database). FWIW, the consumers of the information in the udev datab

Re: [lvm-team] Soliciting feature requests for development of an LVM library / API

2008-12-15 Thread David Zeuthen
On Sat, 2008-12-13 at 15:23 +, Alasdair G Kergon wrote: > On Sat, Dec 13, 2008 at 03:28:20PM +0100, Kay Sievers wrote: > > On Sat, Dec 13, 2008 at 02:30, Dave Wysochanski wrote: > > > Note that by scanning a single PV we may not be able to answer > > > definitively what VG it is in or what LVs

Re: [lvm-team] Soliciting feature requests for development of an LVM library / API

2008-12-15 Thread Alasdair G Kergon
Remind me - why does udev want to know about 'target type'? Is it a hack so it can guess which program (lvm2, cryptsetup, multipath etc.) is responsible for creating the device? We introduced a standard prefix on the UUID for this purpose instead. Next time we revise the ioctl interface it'll go

Re: [lvm-team] Soliciting feature requests for development of an LVM library / API

2008-12-15 Thread Kay Sievers
On Sat, Dec 13, 2008 at 16:23, Alasdair G Kergon wrote: > On Sat, Dec 13, 2008 at 03:28:20PM +0100, Kay Sievers wrote: >> On Sat, Dec 13, 2008 at 02:30, Dave Wysochanski wrote: >> > Note that by scanning a single PV we may not be able to answer >> > definitively what VG it is in or what LVs it ma

Re: [lvm-team] Soliciting feature requests for development of an LVM library / API

2008-12-15 Thread Dave Wysochanski
On Sat, 2008-12-13 at 15:23 +, Alasdair G Kergon wrote: > On Sat, Dec 13, 2008 at 03:28:20PM +0100, Kay Sievers wrote: > > On Sat, Dec 13, 2008 at 02:30, Dave Wysochanski wrote: > > > Note that by scanning a single PV we may not be able to answer > > > definitively what VG it is in or what LV