Handling rootfs on a bind-mount

2012-05-09 Thread Daniel Drake
Hi, OLPC runs / as a bind-mount, because the "real" partition (/dev/mmcblk0p2) holding our root fs can actually hold different versions of the software (usually with a huge amount of shared data via hard links). We use this to implement a completely safe atomic system upgrade path, where a symlink

Re: Howto retreive the partition table?

2012-05-09 Thread Kevin Chadwick
On Wed, 09 May 2012 20:26:03 +0200 Stef Bon wrote: > But howto get the partitiontable from a /sbin/blkid is an option ___ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Re: Howto retreive the partition table?

2012-05-09 Thread Stef Bon
On 05/09/2012 01:08 PM, Christopher Chittleborough wrote: > 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?

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