Hello Jim, On Mon, Nov 30, 2009 at 10:06 AM, Jim Meyering <[email protected]> wrote: > Hello, > > I've just begun reading about this problem, and have a quick question: > What version of libparted are you using?
We're using a version just before 1.9.0. > I ask because there have been significant changes in the area > of detecting when partitions are active. > > In particular: v1.9.0-137-g048602c > > http://git.debian.org/?p=parted/parted.git;a=commitdiff;h=048602c1d5df93ddf4 > > ped_partition_busy: do not call the libparted exception handler > > Modify libparted/arch/linux.c _partition_get_part_dev() to not call > _device_stat() but instead use stat directly, as _device_stat() calls > the libparted exception handler, and we don't want this here, the only > caller of _partition_get_part_dev() is _partition_is_mounted(), which > in turn only gets called by linux_partition_is_busy(), and we don't > want to "throw" exceptions from ped_partition_busy(). > > This issue was noticed in combination with pyparted as used by > anaconda, see: http://bugzilla.redhat.com/527035#c10 I fear the changes that this specific one depends on will change our ABI and this will cause a soname bump. I'll try to prepare the package for try it out. -- Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

