From mboxrd@z Thu Jan 1 00:00:00 1970 References: From: Marian Csontos Message-ID: Date: Thu, 21 Jun 2018 11:51:41 +0200 MIME-Version: 1.0 In-Reply-To: Content-Language: en-MW Content-Transfer-Encoding: quoted-printable Subject: Re: [linux-lvm] How to get a list of all logical groups or volumes using dbus API Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: LVM general discussion and development , Michael Lipp On 06/21/2018 09:26 AM, Michael Lipp wrote: > Hi, >=20 > I searched, but I cannot find the "root hook". Using the Manager > interface, I can lookup a LV if I have some id (LookUpByLvmId). But how > can I achieve the same results as vgs/lvs using the dbus API? I *could* > get the list of paths and pattern match them, but IMHO this would be a ha= ck. I think `object_manager.GetManagedObjects()` is one of supported ways=20 (used by the test suite). Not sure there is simpler way. >=20 > =C2=A0- Michael >=20 >=20 >=20 >=20 > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ >=20