Re: BLKPG changes pushed

2010-04-27 Thread Jim Meyering
Curtis Gedak wrote: > Curtis Gedak wrote: >> Jim Meyering wrote: >>> $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 >>> Warning: WARNING: the kernel failed to re-read the partition >>> table on >>> /dev/sda (Device or resource busy). As a result, it may not >>> reflect all >>>

Re: BLKPG changes pushed

2010-04-24 Thread Curtis Gedak
Curtis Gedak wrote: Jim Meyering wrote: $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot. I

Re: BLKPG changes pushed

2010-04-24 Thread Curtis Gedak
Jim Meyering wrote: $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot. I have been able to confi

Re: BLKPG changes pushed

2010-04-24 Thread Jim Meyering
Curtis Gedak wrote: > Jim Meyering wrote: >> Curtis Gedak wrote: >> >>> Jim Meyering wrote: >>> ... I just tried to add a couple partitions (in free space), and each time, I got this: $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 Warning: WARNING: the kernel f

Re: BLKPG changes pushed

2010-04-24 Thread Jim Meyering
Phillip Susi wrote: > On Sat, 2010-04-24 at 08:47 +0200, Jim Meyering wrote: >> No. That diagnostic comes from >> _kernel_reread_part_table (PedDevice* dev) > > Right, which isn't called after the patch. Actually I think it checked > the kernel version and if it was too old, went with that funct

Re: BLKPG changes pushed

2010-04-24 Thread Curtis Gedak
Jim Meyering wrote: Curtis Gedak wrote: Jim Meyering wrote: ... I just tried to add a couple partitions (in free space), and each time, I got this: $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 Warning: WARNING: the kernel failed to re-read the partition table on /dev

Re: BLKPG changes pushed

2010-04-24 Thread Phillip Susi
On Sat, 2010-04-24 at 08:47 +0200, Jim Meyering wrote: > No. That diagnostic comes from > _kernel_reread_part_table (PedDevice* dev) Right, which isn't called after the patch. Actually I think it checked the kernel version and if it was too old, went with that function. What kernel are you usin

Re: BLKPG changes pushed

2010-04-23 Thread Jim Meyering
Curtis Gedak wrote: > Jim Meyering wrote: >> ... I just tried to add a couple partitions (in free space), >> and each time, I got this: >> >> $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 >> Warning: WARNING: the kernel failed to re-read the partition table on >> /dev/sda (Device

Re: BLKPG changes pushed

2010-04-23 Thread Jim Meyering
Phillip Susi wrote: > On Fri, 2010-04-23 at 20:49 +0200, Jim Meyering wrote: >> I'm not happy with these changes yet, mainly because of the lack of tests, >> but also because I just tried to add a couple partitions (in free space), >> and each time, I got this: >> >> $ sudo ./parted -s $dev u B

Re: BLKPG changes pushed

2010-04-23 Thread Phillip Susi
On Fri, 2010-04-23 at 20:49 +0200, Jim Meyering wrote: > I'm not happy with these changes yet, mainly because of the lack of tests, > but also because I just tried to add a couple partitions (in free space), > and each time, I got this: > > $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 >

Re: BLKPG changes pushed

2010-04-23 Thread Curtis Gedak
Jim Meyering wrote: ... I just tried to add a couple partitions (in free space), and each time, I got this: $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it m

BLKPG changes pushed

2010-04-23 Thread Jim Meyering
I'm not happy with these changes yet, mainly because of the lack of tests, but also because I just tried to add a couple partitions (in free space), and each time, I got this: $ sudo ./parted -s $dev u B mkpart F13-root $s2 $e2 Warning: WARNING: the kernel failed to re-read the partition t