Re: Listing devices using udisks2

2012-05-16 Thread Christopher Chittleborough
On Mon, May 14, 2012, at 05:01 PM, David Zeuthen wrote (in part): > On Mon, May 14, 2012 at 4:54 PM, Anant Kamath wrote: > > I'm using udisks 1.97 > > > > Since the EnumarateDevices DBus method is not available in udisks2, is the > > org.freedesktop.DBus.ObjectManager.GetManagedObjects method the

Re: Howto retreive the partition table?

2012-05-09 Thread Christopher Chittleborough
On Sun, May 6, 2012, at 12:57 PM, Stef Bon wrote: > Hi, > > when enumerating and monitoring devices from udev, I would like to program > whether the device (block, when a disk) there are partitions or not present. > > Howto do this? Is this possible in udev or do I have to use udisks(2)?? > > St