GNU bug report logs - #20893
Strange behavior when using parted

Previous Next

Package: parted;

Reported by: Joan Lledó <joanlluislledo <at> gmail.com>

Date: Wed, 24 Jun 2015 21:23:01 UTC

Severity: normal

Full log


Message #11 received at 20893 <at> debbugs.gnu.org (full text, mbox):

From: Joan Lledó <joanlluislledo <at> gmail.com>
To: "Brian C. Lane" <bcl <at> redhat.com>
Cc: 20893 <at> debbugs.gnu.org
Subject: Re: bug#20893: Strange behavior when using parted
Date: Thu, 25 Jun 2015 00:49:31 +0200
[Message part 1 (text/plain, inline)]

On dc, 24 de jun 2015 a les 11:53 , Brian C. Lane <bcl <at> redhat.com> 
wrote:
> On Wed, Jun 24, 2015 at 10:44:23PM +0200, Joan Lledó wrote:
>>  Hello parted list,
>> 
>>  I'm not sure this is a bug, probably not, but since I've installed
>>  Debian 8 some scripts I use for helping me to test a library are
>>  having a strange behavior. I've wrote a little script as an example:
> 
> What version of parted are you using?

The one that comes with Debian 8: parted 3.2

> 
> 
> You may be hitting this bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1135493
> 
> (there's a fix being discussed on the parted-devel list)
> 

Thanks for the link. After reading it I can say that's exactly my
problem. I'm glad to know it's a parted bug, because I'm using libparted
in a project and thought it was a bug in my code. But this means all the
projects that use libparted 3.2, like gparted in Debian 8, must be
failing right now, right?

Is there a way to receive a notice when this bug is fixed?

> 
>> 
>>  #!/bin/bash
>>  cd ~
>>  modprobe scsi_debug dev_size_mb=800 sector_size=4096
>>  parted /dev/sdf mklabel msdos
>>  parted /dev/sdf mkpart primary 1 50
>>  parted /dev/sdf mkpart primary 51 105
>>  parted /dev/sdf mkpart extended 106 750
>>  parted /dev/sdf mkpart primary 751 839
>>  parted /dev/sdf mkpart logical 107 200
>>  parted /dev/sdf mkpart logical 201 300
>>  parted /dev/sdf mkpart logical 301 450
>>  parted /dev/sdf mkpart logical 451 600
>>  parted /dev/sdf mkpart logical 601 750
> 
> Also, you should be using -s in your script to avoid prompting.
> 
> --
> Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA 
> (PST8PDT)
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.