bug#79105: Bug report parted back trace and exit

2025-07-28 Thread Brian C. Lane
d to close a dev that was NULL (I'm guessing that was associated with sde but without a reproducer it's hard to know for sure). Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#76277: Add Linux LUKS (8309) Partition Type to List of Supported File Systems

2025-05-28 Thread Brian C. Lane
What do you mean by type 8309? msdos mbr partition types are 8 bits only and LUKS is 0xE8, and on GPT it is CA7D7CCB-63ED-4C53-861C-1742536059CC FWIW you can now set these values directly with the 'type' command. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#77887: libparted detects ext4 without journal as ext2

2025-05-28 Thread Brian C. Lane
-- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#76648: Crash trying to parse nilfs2 superblock

2025-05-28 Thread Brian C. Lane
o trigger this case as well as > the previously reported one. > > I've attached a patch with my modifications. Can you, please, look at it? Sorry it took so long to look at this, it looks good to me. I'm posting it to the parted-devel list and if there are no objections I'll pu

bug#76569: parted.8: Some remarks about this man page

2025-05-28 Thread Brian C. Lane
Thanks, I've submitted a patch cleaning up the major issues. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#78202: "parted -s /dev/nbd0 mklabel gpt" fails without error message only in release automation

2025-05-02 Thread Brian C. Lane
-- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#78202: "parted -s /dev/nbd0 mklabel gpt" fails without error message only in release automation

2025-05-02 Thread Brian C. Lane
#x27; to make sure udev has finished up in the background. These are problems we used to hit in the parted test suite, and came up with this code: https://github.com/bcl/parted/blob/master/tests/t-local.sh#L45 Good luck! Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#76952: bug report

2025-03-15 Thread Brian C. Lane
#x27;t something that's supported. > > *Unable to determine the dm type of /dev/mapper/rl-root.* So, not really a bug. Run it as root, and use the correct device path. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#76202: Resizing FAT32 failed

2025-02-11 Thread Brian C. Lane
; you are saying it cannot resize anything. AFAIK for FAT32 it needs to be 256MB or larger. Or stated a different way, it cannot be resized if it is smaller than 256MB. I'm fine with changing the wording, but I'm not sure that message only shows up with the FAT32 256MB limitation and

bug#76099: Bug in ped_partition_get_flag()

2025-02-07 Thread Brian C. Lane
er. > > If you need more information I will be happy to provide it. You can only call that on an active partition (one that isn't metadata or free). Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#76099: Bug in ped_partition_get_flag()

2025-02-06 Thread Brian C. Lane
ed_partition_get_flag() failed. > Version 3.6-4 Sorry, that's not enough information to know what happened. What were you trying to do? Is there a stack trace that you can include, or at least steps to reproduce it. Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#74392: parted crash

2024-11-21 Thread Brian C. Lane
nd mkpart > crashes the app. I expect parted would change the mac or msdos > partition map, so I can change the rest manually. Or even better, that > parted would change msdos by default which is used by kernel by > default (not mac partition) > Hm. That's not great, I'll look

bug#74392: parted crash

2024-11-20 Thread Brian C. Lane
iled. Thanks for the report, this isn't really a crash -- it's the program protecting you from doing something bad to the disk. hybrid iso 'disklabels' are not meant to be edited. The combine several things into one so that they can boot multiple places, but aren't supporte

bug#74444: [PATCH] parted: fix do_version declaration

2024-11-20 Thread Brian C. Lane
On Wed, Nov 20, 2024 at 12:22:22PM +, Rudi Heitbaum wrote: > static int > -do_version () > +do_version (PedDevice** dev, PedDisk** diskp) > { > printf ("\n%s\n%s", > prog_name, Thanks! Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#72481: GNU Parted Bug

2024-08-05 Thread Brian C. Lane
on > not implemented). > Unable to get device /vmfs/devices/genscsi/mpx.vmhba2:C1:T124:L0 That doesn't look like a parted problem. And if the version mentioned there is a parted version it's way too old to be supported. You'll need to talk to your OS distribution about it. Bri

bug#71790: parted -s emits a warning when shrinking a partition

2024-06-27 Thread Brian C. Lane
not documented? Any > plans to make ---pretend-input-tty an official "thing" in Parted? No, it's there for the tests. But there's no plan to remove it since the tests depend on it. But I really don't recommend automating things that could lose data. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#69895: Bug Report for GNU Parted Version 2.4.62-ce5e-dirty on VMware ESXi 7.0 Update 3

2024-03-19 Thread Brian C. Lane
upported at this point. I suggest that you contact VMWare for support. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#68379: [resizepart] GPT table relocation during partition resizing

2024-01-11 Thread Brian C. Lane
no way to work around this other than not using parted on these disk. Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#67826: Broken search mechanism

2023-12-18 Thread Brian C. Lane
https://www.gnu.org/software/parted/api/index.html has been updated for libparted 3.6 using Doxygen 1.9.6 Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#67826: Broken search mechanism

2023-12-14 Thread Brian C. Lane
inaccurate. I'll see if I can track down what generates those pages. I'm not even sure Doxygen will generate useful output with the current codebase, I know I've never tried. Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#66740: fail to run 'parted -s /dev/loop0 mklabel MSDOS'

2023-10-25 Thread Brian C. Lane
t; *thought:* > > parted codes need refresh according to kernel of return value. Thanks, I'll have to dig into this when I have time. As a workaround you don't need to attach the file to a loop device, parted can run on the file directly. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#66327: PARTED_CHECK_LIBPARTED shipped with parted 3.6 fails to detect it

2023-10-06 Thread Brian C. Lane
On Fri, Oct 06, 2023 at 12:12:44AM +0200, Jan Palus wrote: > On 04.10.2023 13:52, Brian C. Lane wrote: > > On Tue, Oct 03, 2023 at 07:01:52PM +0200, Jan Palus wrote: > > > autoconf macro PARTED_CHECK_LIBPARTED requires ped_get_version() to > > > return 3 part version s

bug#66327: PARTED_CHECK_LIBPARTED shipped with parted 3.6 fails to detect it

2023-10-04 Thread Brian C. Lane
ing uses the PARTED_CHECK_LIBPARTED macro in the upstream code. I'm inclined to just delete it. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#64607: parted command is not support Brace Expansion in bash shell

2023-07-14 Thread Brian C. Lane
hich doesn't make sense to parted. And even if it did, the only useful command would be print. You wouldn't want to run mkpart on multiple devices at once. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#64034: [PATCH] libparted: link libparted-fs-resize.so to libuuid

2023-06-13 Thread Brian C. Lane
This is uncovered by lld linker linking fatresize package > due to this linker defaulting to --no-allow-shlib-undefined. Thanks! Merged into master. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#63650: Unable to determine the size of

2023-05-22 Thread Brian C. Lane
file a bug with whatever distribution you are running. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#63120: Requesting more docs

2023-04-27 Thread Brian C. Lane
hes should be sent to the parted-devel mailing list: https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/parted-devel (and you can also ask questions there, the audience should be wider than the bug tracker). Thanks! Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#62915: CentOS 7 does not define UUID_STR_LEN

2023-04-18 Thread Brian C. Lane
7. Those releases use older versions of parted, so the current release isn't expected to build on them. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#62793: Assertion (max_size > 0) at cs/constraint.c:72 in function ped_constraint_init() failed.

2023-04-12 Thread Brian C. Lane
er than the ~11GiB the 2nd print claims. My initial guess is that this disk is reporting inaccurate information and that's confusing parted. I'd look at the bootup output from dmesg to see what the kernel saw at boot time, and to check for disk errors in dmesg/journald output. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#61076: Change in MBR between parted 3.2 and 3.3

2023-01-26 Thread Brian C. Lane
t; One additional question arises for my understanding though, how come a > partition > with CHS address of the first sector equal to the last one is usable ? Well, nothing should be actually using the CHS values these days. So it's possible that's a bug that doesn't matter in pra

bug#54751: Parted 3.4 complains about the partition layout of ChromeOS: "Can't have overlapping partitions"

2023-01-09 Thread Brian C. Lane
GNOME Disks. Judging from the positive responses to > the patch, it seems it just slipped through the cracks. I hope it's > still the right solution. I have it on my list of things for the new year, but I'd like to get more feedback on it. It looks simple enough, but you know ho

bug#60389: archive website not updating

2023-01-09 Thread Brian C. Lane
-- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#58393: parted ignores "fs-type" in mkpart when it specified in command line

2022-10-10 Thread Brian C. Lane
ata or swap or whatever). When you rerun parted without actually creating that filesystem it doesn't show anything because it hasn't detected a filesystem on the partition. If you create an ext4 filesystem on that partition it will show ext4. Note that in the current master version of parted it

bug#57802: MBR problem

2022-09-14 Thread Brian C. Lane
it is possible to use a msdos disklabel with UEFI, it should be using GPT. I'm also not sure why a UEFI system wouldn't boot with the MBR written. It should just ignore it and use the ESP partition. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#57142: reporting an issue

2022-08-15 Thread Brian C. Lane
ilesystem type to ntfs will set the partition type for an NTFS filesystem, but will not actually format it. You need to use mkfs.ntfs to do that. Good Luck, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#56996: gpt_partition_set_system possible regression

2022-08-10 Thread Brian C. Lane
with your application? https://alioth-lists.debian.net/pipermail/parted-devel/2022-August/005819.html Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#56996: gpt_partition_set_system possible regression

2022-08-05 Thread Brian C. Lane
nges made it work again. I'm not entirely sure what to do about this. It's obviously a change in behavior, but it's a result of a big improvement in the code that I'd rather not revert. I should have bumped the library version to indicate this. I'm cc'ing this to the

bug#55489: BUG REPORT

2022-05-17 Thread Brian C. Lane
y look like a parted problem. Please include the cmdline you ran, the version of parted you are running, and whatever other relevant details if you want help figuring out what's wrong. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#55184: XFS partition could not be created on NVMe disk via parted command

2022-04-29 Thread Brian C. Lane
s, it doesn't have a filesystem on it, the logical partition does. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#55009: Acknowledgement (parted-3.5 released [stable])

2022-04-18 Thread Brian C. Lane
s.gnu.org. > > Please do not send mail to help-debb...@gnu.org unless you wish > to report a problem with the Bug-tracking system. > > -- > 55009: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=55009 > GNU Bug Tracking System > Contact help-debb...@gnu.org with probl

bug#55009: parted-3.5 released [stable]

2022-04-18 Thread Brian C. Lane
g to remove a busy partition. Keep GUID specific attributes when writing the GPT header. Previously they were set to 0. -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#54751: Parted 3.4 complains about the partition layout of ChromeOS: "Can't have overlapping partitions"

2022-04-06 Thread Brian C. Lane
On Thu, Apr 07, 2022 at 06:19:02AM +0800, Steven Shiau wrote: > > On 4/7/22 00:27, Brian C. Lane wrote: > > On Wed, Apr 06, 2022 at 02:20:56PM +0800, Steven Shiau wrote: > > > >> So my questions: (1) Is there any option we can use to ignore the > >> error/war

bug#54751: Parted 3.4 complains about the partition layout of ChromeOS: "Can't have overlapping partitions"

2022-04-06 Thread Brian C. Lane
ons is an error, and script mode tries pretty hard to make sure you can't accidentally destroy your data. Please include the output from parted /dev/sda unit s print so we can see what parted thinks the sector locations and lengths are. Brian -- Brian C. Lane (PST8PDT) - weldr.io -

bug#54640: parted-3.4.64 released [alpha]

2022-04-05 Thread Brian C. Lane
On Wed, Mar 30, 2022 at 09:57:24AM -0700, Brian C. Lane wrote: > Here are the compressed sources and a GPG detached signature[*]: > http://alpha.gnu.org/gnu/parted/parted-3.4.64.tar.xz > http://alpha.gnu.org/gnu/parted/parted-3.4.64.tar.xz.sig There is now a 3.4.64.2 alpha build,

bug#54649: [PATCH] usage: remove the mention of "a particular partition"

2022-03-31 Thread Brian C. Lane
Without arguments, 'print' displays the entire partition table. However " > -- > 2.34.1 > > > > Pushed to master, thanks. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#54640: parted-3.4.64 released [alpha]

2022-03-30 Thread Brian C. Lane
ibutes when writing the GPT header. Previously they were set to 0. -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart signature.asc Description: PGP signature

bug#54428: Please fix error in v3.4

2022-03-16 Thread Brian C. Lane
doesn't give any info on what object it was trying to reference. Can you provide any other details? Maybe try running it with gdb? Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#53801: [PATCH] tests: have printf(1) use octal numbers for POSIX conformance

2022-02-07 Thread Brian C. Lane
On Mon, Feb 07, 2022 at 08:52:33AM -0800, Brian C. Lane wrote: > On Sat, Feb 05, 2022 at 10:44:29AM +, Kerin Millar wrote: > > Hello, > > > > The attached patch rectifies some test failures that were reported at > > https://bugs.gentoo.org/774363. Whether it b

bug#53801: [PATCH] tests: have printf(1) use octal numbers for POSIX conformance

2022-02-07 Thread Brian C. Lane
a is :) I'd prefer a solution that continues to use hex so that future users don't have to figure out what's going on. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#53323: Please,I have a hard disk mounting problem for ESXI

2022-01-17 Thread Brian C. Lane
vice in question. There isn't anything parted can do about that. Also, version 2.4 is quite old at this point -- but even with a newer version you would have the same problem. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#53151: Bug: Overlapping Partitions

2022-01-10 Thread Brian C. Lane
artition that they didn't leave the required space before the first logical partition. There's nothing that parted can do about that. Although given how often this seems to come up I may look at adding an actual error output instead of using the assert. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#53138: Handling of shrinked GPT disks

2022-01-10 Thread Brian C. Lane
appen, it is a pretty fine line between losing just the backup GPT and losing the end of the last partition (assuming it is fully utilized). I'm not sure it's worth adding extra code and the potential for new bugs if this isn't a common practice. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#52516: Avoiding race condition between partprobe and getting PARTUUID using lsblk?

2021-12-15 Thread Brian C. Lane
gt; guarantee of the process being completed in this case. There's not much you can do other than wait for udev, or check to make sure device nodes you expect to be present are there. We used to hit problems like this in the parted test suite all the time, until we added loops to wait for the partit

bug#52125: bug: parted msdos type disk different from expect

2021-12-01 Thread Brian C. Lane
B 16.7MB 16.7MB primary > > > The fault result is cause by commit 61dd3d4: > Use BLKSSZGET to get device sector size in _device_probe_geometry() I would strongly suggest that you don't use cyl as a unit. There is no good reason to be doing that in 2021. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#52034: Fwd: Man page for parted 2007 March 29

2021-12-01 Thread Brian C. Lane
;chromeos_kernel" and "palo".  state should > be ei‐ > ther "on" or "off". > > it also works for the flag "*bios_grub*" not listed above > Thanks, I've fixed this on the master branch. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#51551: error during installation or by using gparted

2021-11-01 Thread Brian C. Lane
r the extended partition's metadata. There isn't anything parted can do about that, and the only way to fix that is to re-partition your disk. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#51407: parted didn’t check the returned sense data

2021-10-28 Thread Brian C. Lane
ty to 0. > I suppose this bug#51407 can be closed. Thanks again. The kernel doesn't call parted. So this is bound to be something else. Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#51407: parted didn’t check the returned sense data

2021-10-27 Thread Brian C. Lane
eg. running parted via strace to capture any unexpected error codes from the kernel. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#50848: parted crash using ‘print list’

2021-09-27 Thread Brian C. Lane
ed. Do any all commands fail? What does the dmesg output have to say about that disk? That looks to me like a hardware or kernel error, the sector size reported by the disk or kernel isn't divisible by 512. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#50786: Missing info??

2021-09-24 Thread Brian C. Lane
used along with --script it will automatically fix the size of the disk and write the backup partition table. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#50601: parted-3.4 | File system not created

2021-09-15 Thread Brian C. Lane
that you need to run mkfs.ext4 on the new partition. The partition value in parted is to tell parted what you plan to use it for so that it can setup the UUID or partition type correctly. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#48619: make distcheck + sudo make distcheck

2021-08-26 Thread Brian C. Lane
-- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#49594: t1100-busy-label.sh and t1101-busy-partition.sh fail if vfat file system support is not enabled

2021-08-26 Thread Brian C. Lane
On Fri, Jul 16, 2021 at 11:15:46AM +0100, Ross Burton wrote: > The tests t1100-busy-label.sh and t1101-busy-partition.sh both fail if > vfat file system support is not enabled instead of skipping. This has been fixed. Thanks for the help! Brian -- Brian C. Lane (PST8PDT) - weldr.io -

bug#49487: t3200-type-change.sh using too much memory

2021-08-26 Thread Brian C. Lane
he lowest we can go is 267 on the fat32 test because fat32 won't work on anything smaller than 256. All the others have been reduced to 10, so hopefully this is enough to squeak by on a small system. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#49628: Compiling error after a successfully ./configure

2021-08-26 Thread Brian C. Lane
27;s safe to declare, all the uses of it are also disabled. I can't get things to compile at all if I turn on discover mode on Fedora so I can't test whether that's the only change needed. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#50168: Inconsistent behavior creating partitions with 'Xmib' and 'X%' (off-by-1 error?)

2021-08-26 Thread Brian C. Lane
are requesting an exact location, so this is telling you that sector 122880 (60*1024*1024) is already in use and it has to use the next sector instead. The other units use a snap algorithm with a radius of half the unit size (eg. 500k for MB) so it doesn't have this problem, and it is the default s

bug#21136: Fwd: Inconsistent behavior creating partitions with 'Xmib' and 'X%' (off-by-1 error?)

2021-08-26 Thread Brian C. Lane
-- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#49535: parted not detecting atari pttype on ubuntu

2021-07-12 Thread Brian C. Lane
ting Ceph or not Ceph they need to find a better way. My suggestion would be to use GPT partition tables and a ceph related UUID for the partition type. Or names for the partitions. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#47945: My Mistake

2021-04-22 Thread Brian C. Lane
s for the clarification. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#47945: 4096 Sector bug

2021-04-22 Thread Brian C. Lane
BIOS cylinder,head,sector geometry: 55,255,9.  Each cylinder is 9400kB. > Partition Table: loop > Disk Flags: > > Thanks! > > Eric (Wood) > That looks like parted wasn't used to partition the disk, the file system is starting at sector 0 and the table is 'loop'. I'm not clear on what you think is wrong with parted. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#47666: /libparted/labels/dos.c:2313 in function add_logical_part_metadata() fail

2021-04-09 Thread Brian C. Lane
n (metadata_length > 0) at > ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() > failed. > Aborted > The partition table was not created correctly, parted will not use it until it has been fixed. -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#47653: Is this a bug?

2021-04-08 Thread Brian C. Lane
rtition 2 and partition 5 also use some of that space. This is likely confusing parted, so I'd say it isn't a bug, it's just trying to do the best it can with the available space. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#46630: GNU Parted bug: Unable to determine the dm type of /dev/mapper/name

2021-02-19 Thread Brian C. Lane
t. But I did expect a > terse(r) error message. > > For example, the following error message is expectedly terse. > > $ partprobe /dev/sdf > Error: Error opening /dev/sdf: Permission denied The first line says that, the rest provides additional context what can sometimes be useful. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#46539: Assertion (start >= 0) at cs/geom.c:157 in function ped_geometry_set() failed.

2021-02-16 Thread Brian C. Lane
artition table from the primary. If this happens again (hope not!) make a copy of the first and last 1M of the disk and email it to me so I can poke at it. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#45244: 3.3.52 dist tar balls

2021-01-18 Thread Brian C. Lane
ent them an email with the new version. I've also added a note to the README-release file, since this part of the process wasn't mentioned anywhere. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#45887: buffer cache flushed after excute 'parted -s print' command

2021-01-15 Thread Brian C. Lane
k mode. Yes, parted calls fsync when it is done with the device. It always opens the device in RW mode and always fsync's it when closing it to make sure any changes make it to disk. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#45026: Heap corruption buffer overflow in bsd_probe

2020-12-04 Thread Brian C. Lane
How did you get valgrind to hit that? I'm not seeing it complain about bsd.c on Fedora. I've pushed this fix to master. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#44875: I wanted to know how I can use a partition deletion using a script

2020-11-30 Thread Brian C. Lane
irc, forums, etc.). Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#44443: I apparently found a bug?

2020-11-04 Thread Brian C. Lane
related to the device. If that's the case there's nothing parted can do about it. > See also: > > > > *pi@raspberrypi:~ $ sudo parted sdb unit co print unit s printError: Could > not stat device sdb - No such file or directory.Retry/Cancel? c* You told it to use sdb,

bug#43993: parted in script mode still needs "yes/no" as input in "are you sure" questions

2020-10-14 Thread Brian C. Lane
al for data loss when things go wrong. The script mode defaults to 'safe' for all of the prompts like this to avoid unexpected surprises. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#43362: SOLVED

2020-09-14 Thread Brian C. Lane
M > > Accordingly to the changes made in block/partitions/core.c > That is making parted working again. I dug into this and it's a kernel bug that will be fixed in 5.9 rc5 as well as backported to 5.8.10 so changing it in parted isn't the right solution. Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#43362: SOLVED

2020-09-14 Thread Brian C. Lane
M > > Accordingly to the changes made in block/partitions/core.c > That is making parted working again. Thanks for tracking that down. -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#42796: partprobe doesn't reload partition information for loop devices when invoked with no options

2020-08-11 Thread Brian C. Lane
o me like sgpart or debian does have a problem though, they should be notifying the kernel of the change when you resize the partition. If I do the same steps on Fedora, using sgdisk or parted I don't need to run partprobe for lsblk to show the updated size. Brian -- Brian C. Lane (PST8PDT) - w

bug#42559: Reported size of disk rounded

2020-07-28 Thread Brian C. Lane
ve the size of the disk ? When using non-IEC units like MB, GB parted will round the request to +/- 50% of the unit. Usually it will snap to someplace near what you expect, but not always, depending on the surrounding partitions. To specify exact locations use either sectors ('s') or

bug#42495: Option not working in scripting mode.

2020-07-23 Thread Brian C. Lane
on't try to turn -1 into an option: parted --script -- /dev/sda mkpart primary 515 -1 Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#42244:

2020-07-07 Thread Brian C. Lane
acac] > 3: parted(main+0x139b) [0x563d15d1380b] > 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) > [0x7f1212b160b3] > 1: parted(_start+0x2e) [0x563d15d1389e] What happens if you rerun it and just do `print devices` without trying resizepart first? Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#41577: automatic alignment

2020-05-28 Thread Brian C. Lane
4s % 2048s != 0s Ignore/Cancel? This means that it needs to be multiples of 2048 sectors to be aligned (this example is just an example with a disk image). Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#39905: Why does parted change ownerships of devices?

2020-03-04 Thread Brian C. Lane
fied after that. > > Doing the test manually without ansible context shows it's parted itself > which apply this change: No, parted doesn't do anything to ownership or permissions. My guess is that udev is doing something when the device is opened/closed. How does ceph set the owne

bug#39392:

2020-02-03 Thread Brian C. Lane
that are > currently mounted or in use. > > Still get the follow message > raf@raf-desktop:~$ gparted parted is not gparted, those errors don't look like something that we output. -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#38474: 4M, 12M or 24M partition alignment

2020-01-06 Thread Brian C. Lane
reported by the device, so if it reports 512b that's what it will use. There's no way to override this and have it calculate a different alignment automatically. But you can use the MiB units to set the sizes yourself so that you can make them start exactly where you want them. --

bug#22167: Don't interactively ask questions in script mode

2020-01-06 Thread Brian C. Lane
cannot think of a good reason to remove or resize a mounted partition. Why not unmount it first and avoid the issue completely? -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#38783: GPT case that parted can't handle

2020-01-06 Thread Brian C. Lane
will fail on one that has shrunk. Given the amount of work that would be needed to support this, and that this is a corner case I don't think it's something I want to tackle. Really, you shouldn't be copying pieces of disks around. Make a new partition and copy the data -- it's safer that way. -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#38620: parted: invalid pointer

2019-12-16 Thread Brian C. Lane
at32lba > 2 273MB 15.9GB 15.7GB primary ext4 > > (parted) resizepart 2 > End? [15.9GB]? > free(): invalid pointer > zsh: abort sudo parted /dev/sdc Thanks, that should be fixed by https://github.com/bcl/parted/commit/883813c365482d06d05a1998e066792c48156f23 which I'll push today. -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#37210: [sr #109945] Removed a USB device after wiping its partition but before exiting

2019-11-12 Thread Brian C. Lane
Update of sr #109945 (project parted): Status:None => Invalid Open/Closed:Open => Closed ___ Follow-up Comment #1: I would suggest not

bug#38089: [sr #110102] Option to disable/ignore kernel updating in parted

2019-11-12 Thread Brian C. Lane
Update of sr #110102 (project parted): Status:None => Wont Do Open/Closed:Open => Closed ___ Follow-up Comment #1: I don't think it's a

bug#37794: Bug report for parted 17-10-19

2019-10-18 Thread Brian C. Lane
> print devices > print list > resize > resizepart > 2 Thanks for the report! I actually have a fix for this that got lost. https://github.com/bcl/parted/commits/master-1701411 I'll re-send those to the list after I test them against the current master. -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#37262: [sr #109955] 3.2.153: missing dist tar ball

2019-09-04 Thread Brian C. Lane
Update of sr #109955 (project parted): Open/Closed:Open => Closed ___ Follow-up Comment #2: That's expected, this is an alpha release. It's the first release that I've done so I'm taking is

bug#37139: Small eror on gnu.org page

2019-08-22 Thread Brian C. Lane
annah.gnu.org/git/parted.git > > instead of: > > git clone https://git.savannah.gnu.org/git/parted.git Thanks, fixed. -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted

bug#37011: parted-3.2.153 released [alpha]

2019-08-12 Thread Brian C. Lane
er of 2, then such address does not trigger exact placement. mkpart: Allow negative start value when FS-TYPE is not given -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted signature.asc Description: PGP signature

bug#36908: parted optimal alignment fails minimal alignment check

2019-08-05 Thread Brian C. Lane
dbb4cd2dc4b19fe8d3c4b94e172fc0bd2c7c I added a message that describes the failure with a bit more detail. It will print something like: % != I'm guessing Ubuntu doesn't have that patch, and the 3.2 tarball is getting *really* old at this point (which is why I'm working toward a 3.3 release soon). Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted

  1   2   3   4   >