--- Begin Message ---
Subject: |
problem relabeling and partitioning a ntfs hard drive |
Date: |
Sun, 31 Mar 2019 22:14:49 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Hi, I was trying to wipe a drive and ntfs partition but the partition
type stays the same even though the label and size are affected.
-----------
Debian 8.2 x64
parted (GNU parted) 3.2
$parted /dev/sdc
<parted>
mklabel gtp yes
mkpart name ext4 0gb 160gb
print:
Model: ATA WDC WD1600AAJS-0 (scsi)
Disk /dev/sdc: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 160GB 160GB ext4 HIST
(parted) quit
Backtrace has 15 calls on stack:
15: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44)
[0x7fb356afb644]
14: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_init+0xd0)
[0x7fb356b021d0]
13: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_new+0x56)
[0x7fb356b02286]
12: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_exact+0xa8)
[0x7fb356b02b68]
11: /lib/x86_64-linux-gnu/libparted.so.2(+0x25238) [0x7fb356b13238]
10: /lib/x86_64-linux-gnu/libparted.so.2(+0x25306) [0x7fb356b13306]
9: /lib/x86_64-linux-gnu/libparted.so.2(+0x120aa) [0x7fb356b000aa]
8: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_delete_all+0x62)
[0x7fb356b00c32]
7: /lib/x86_64-linux-gnu/libparted.so.2(+0x24619) [0x7fb356b12619]
6: parted() [0x407a11]
5: parted() [0x407acf]
4: parted(interactive_mode+0xff) [0x40ca2f]
3: parted(main+0x119f) [0x405f6f]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7fb3562f0b45]
1: parted() [0x405fc7]
You found a bug in GNU Parted! ...Also include any additional
information about your setup you
consider important.
Assertion (max_size > 0) at ../../libparted/cs/constraint.c:71 in
function ped_constraint_init() failed.
Aborted
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#35066: problem relabeling and partitioning a ntfs hard drive |
Date: |
Tue, 9 Apr 2019 15:13:57 -0700 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
Pushed these to master, also included in parted-3.2-41 build for Fedora
Rawhide.
--
Brian C. Lane (PST8PDT)
--- End Message ---