On 9/16/2015 2:47 AM, Shane Kerr wrote:
> Anyway, I proceeded to try a new partition:
> 
> -----------------------------------------------------------------------
> (parted) n

n is for name, to name a partition.  To create a new one you use mkpart.

> Warning: The driver descriptor says the physical block size is 2048 bytes, but
> Linux says it is 512 bytes.
> Ignore/Cancel? c
> Partition number?
> Partition number? 1
> Backtrace has 8 calls on stack:

Brian fixed this already not too long ago, it just hasn't been released yet:

commit f5c628dd51c7d77ff939554425159ab6e8aef1c0
Author: Brian C. Lane <b...@redhat.com>
Date:   Mon Jul 13 16:43:11 2015 -0700

    parted: Fix crash with name command and no disklabel (#1226067)

    A typo (the last I think) from commit 7eac058 wasn't properly checking
    the result of ped_disk_new so it could crash if there was no disklabel
    on the device.




Reply via email to