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

Re: [parted-devel] Support setting more flags (those from the Discoverable Partitions Specification)

2024-07-25 Thread Brian C. Lane
t;max-partitions": 128, "partitions": [ { "number": 1, "start": "2048s", "end": "4192255s", "size": "4190208s", "type": "primary", "type-uuid": "993d8d3d-f80e-4225-855a-9daf8ed7ea97", "uuid": "105cc168-f8c5-4499-9f8d-944599579425", "name": "root" } ] } } Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

[parted-devel] [PATCH] doc: Document IEC unit behavior in the manpage

2024-07-12 Thread Brian C. Lane
Previously this has only been documented in the info page. --- doc/C/parted.8 | 13 + 1 file changed, 13 insertions(+) diff --git a/doc/C/parted.8 b/doc/C/parted.8 index 3069c33..171269c 100644 --- a/doc/C/parted.8 +++ b/doc/C/parted.8 @@ -151,6 +151,19 @@ Toggle the state of the disk

[parted-devel] [PATCH] parted: Print the Fixing... message to stderr

2024-07-10 Thread Brian C. Lane
Otherwise it messes up stdout of things like --json Thanks to Mikael Q for reporting this. --- parted/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parted/ui.c b/parted/ui.c index 33a1808..d6d1da4 100644 --- a/parted/ui.c +++ b/parted/ui.c @@ -645,7 +645,7 @@ exception_

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

Using mkksiso with Fedora DVDs doesn't work

2024-05-09 Thread Brian C. Lane
or just edit the script to add your kickstart). https://bcl.fedorapeople.org/scripts/fix-fedora-dvds Run it like so: ./fix-fedora-dvds boot.iso dvd.iso fixed.iso Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart --

isomd5sum 1.2.4-1 checksum bug

2024-04-29 Thread Brian C. Lane
the iso having 1.2.3-23 on it and his host having 1.2.4-1 on it. Hopefully this doesn't cause too many problems for people, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart -- ___ devel mailing list -- devel@lists.fedorap

Re: F41 Change Proposal - Reproducible Package Builds (System-Wide)

2024-04-17 Thread Brian C. Lane
dler imports it: https://github.com/keszybz/add-determinism/blob/ffdc8364839b42e22e846dce41061a061da64451/src/handlers/pyc.rs#L323 so you still need python, right? Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart -- ___ deve

Re: Merging /usr/sbin to /usr/bin

2024-04-11 Thread Brian C. Lane
en everything becomes a symlink. It should make sure they all point to where you expect before removing them all. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart -- ___ devel mailing list -- devel@lists.fedoraproject.org To uns

Re: [parted-devel] [PATCH] libparted: Fail early when detecting nilfs2

2024-04-01 Thread Brian C. Lane
dig deeper. Could you update the commit message with a bit more background, most readers probably don't know what your situation is. You should also point out that this is a behavior change. Previously it would fail only if both locations were invalid. In practice I doubt this really ma

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

Building the boot.iso with dnf5

2023-12-08 Thread Brian C. Lane
hange uses libdnf5 to *build* the boot.iso but it does not have dnf5 on the iso or the systems installed using it. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart -- ___ devel mailing list -- devel@lists.fedoraproject.org To u

Re: DNF5: Checking signatures of packages installed out of a repository?

2023-11-02 Thread Brian C. Lane
. Treat them as if they came from a repo. - users (or me) don't know all the internal paths inside dnf, the expectation is that a url isn't a local file. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ dev

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

[parted-devel] [PATCH] m4: Remove unused parted.m4

2023-10-06 Thread Brian C. Lane
This removes a macro, PARTED_CHECK_LIBPARTED, which as far as I can tell has never been used. It makes assumptions about the version number returned by ped_get_version() that have never been true -- we use X.Y for releases and X.Y.Z for alpha, etc. so it would never have worked. --- m4/parted.m4 |

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

Re: Requesting an addition to the install image

2023-06-08 Thread Brian C. Lane
ke it amounts to these 2 commits: f031f2850b3823fca0360ee9668702ab4139ec5f to add nvme-cli 0099d618be177325487d2c23ec2d8a765d03ba1d to remove machine specific files Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ devel maili

Re: Old stalled bodhi updates

2023-05-30 Thread Brian C. Lane
t). Not sure what else I can do at the moment... Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org F

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

[parted-devel] parted-3.6 released [stable]

2023-04-10 Thread Brian C. Lane
by switching to using #define Fix ending sector location when using kibi IEC suffix -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

Re: Future of encryption in Fedora

2023-04-03 Thread Brian C. Lane
t; we might do for encrypting Fedora Workstation systems in the future. Please > follow up there, but for convenience, the message is reproduced below: This seems like exactly the kind of discussion that belongs on the devel list, not on a website that I have to remember to visit for updates

[parted-devel] parted 3.5.28 released [alpha]

2023-03-28 Thread Brian C. Lane
type commands to set type-id on MS-DOS and type-uuid on GPT. Add swap flag support to the dasd disklabel Add display of GPT disk and partition UUIDs in JSON output ** Bug Fixes Fix use of enums in flag limits by switching to using #define Fix ending sector location when using kibi

Re: Fedora Linux 38 blocker status summary

2023-03-24 Thread Brian C. Lane
a new build with that on Monday. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Con

Re: [parted-devel] [PATCH 1/2] parted: Fix ending sector location when using kilo IEC suffixes

2023-03-17 Thread Brian C. Lane
In the interest of not breaking existing output I've only pushed the 1st commit here. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

Re: [parted-devel] [PATCH 1/2] parted: Fix ending sector location when using kilo IEC suffixes

2023-03-06 Thread Brian C. Lane
-- this table says that it is 'k' for kilo but 'Ki' for kibi so KiB would be the correct output format. https://en.wikipedia.org/wiki/Binary_prefix oh, and this nist.gov page agrees: https://physics.nist.gov/cuu/Units/binary.html I'm mostly worried about anything th

[parted-devel] [PATCH 2/2] libparted: Fix KiB unit string

2023-03-03 Thread Brian C. Lane
Change kiB to KiB, this will effect things trying to parse the output units string. --- libparted/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libparted/unit.c b/libparted/unit.c index d86658c..f6a2f4f 100644 --- a/libparted/unit.c +++ b/libparted/unit.c @@ -80,7 +80,

[parted-devel] [PATCH 1/2] parted: Fix ending sector location when using kilo IEC suffixes

2023-03-03 Thread Brian C. Lane
This fixes a bug when using KiB to specify the ending location of a partition. It was not subtracting 1s like it does with the other units because it was looking for a 'k' not a 'K'. This also fixes a quirk of the suffix checking code, it would check for matching case, but converting to the actual

[parted-devel] [PATCH 5/5] tests: Fix formatting and snprintf warnings in tests.

2023-02-15 Thread Brian C. Lane
The assert message includes sector values, which are long long int, so use the proper formatting of %lld. The snprintf warning complained about trying to write 258 bytes so I bumped the buffer size up to 259. The return value is already being checked for truncation so this is just to keep the comp

[parted-devel] [PATCH 3/5] strlist: Handle realloc error in wchar_to_str

2023-02-15 Thread Brian C. Lane
It could return a NULL if the realloc fails. This handles the failure in the same way as other failures in wchar_to_str, it exits immediately with an error message. --- parted/strlist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parted/strlist.c b/parted/strlist.c index 71cba59..7901789

[parted-devel] [PATCH 1/5] filesys: Check for null from close_fn

2023-02-15 Thread Brian C. Lane
If the filesystem type name isn't known it can return a NULL. --- libparted/fs/r/filesys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libparted/fs/r/filesys.c b/libparted/fs/r/filesys.c index 9dafd71..6e795bc 100644 --- a/libparted/fs/r/filesys.c +++ b/libparted/fs/r/fil

[parted-devel] [PATCH 0/5] Some cleanup patches

2023-02-15 Thread Brian C. Lane
Preparting to do an alpha release soon, these are all things that are complained about when building on Fedora with gcc-13.0.1, and should not result in any behavior changes. Brian C. Lane (5): filesys: Check for null from close_fn libparted: Fix potential NULL dereference in

[parted-devel] [PATCH 4/5] ui: Add checks for prompt being NULL

2023-02-15 Thread Brian C. Lane
Also removes a cast from const char* to char* when passing to readline that doesn't appear to be necessary any longer. Added asserts to make sure prompt isn't NULL after strdup and realloc calls. --- parted/ui.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/parted/ui.

[parted-devel] [PATCH 2/5] libparted: Fix potential NULL dereference in ped_disk_next_partition

2023-02-15 Thread Brian C. Lane
--- libparted/disk.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libparted/disk.c b/libparted/disk.c index e1a3489..6c82877 100644 --- a/libparted/disk.c +++ b/libparted/disk.c @@ -1718,8 +1718,11 @@ ped_disk_next_partition (const PedDisk* disk, const PedPartition* par

Re: [parted-devel] [PATCH 0/5] Add --readonly flag to parted

2023-02-14 Thread Brian C. Lane
On Mon, Feb 13, 2023 at 08:41:35AM +, Arvin Schnell wrote: > On Thu, Feb 09, 2023 at 05:18:56PM -0800, Brian C. Lane wrote: > > > The benefit of this is that you can now easily read the device without > > triggering any udev events with: > > > > parted --script

Enabling plymouth on livemedia-creator iso creation

2023-02-14 Thread Brian C. Lane
if we want to change it for F38 at this point or not (less change is better). Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send

Re: Small rant: installer environment size

2023-02-14 Thread Brian C. Lane
On Tue, Feb 14, 2023 at 06:40:05PM +0100, Florian Weimer wrote: > > I'm still curious about the impact of glibc-all-langpacks on > download/image size. FWIW here is the discussion that happened when that was added: https://bugzilla.redhat.com/show_bug.cgi?id=1312607 Brian --

[parted-devel] [PATCH 5/5] tests: Add tests for --readonly flag

2023-02-09 Thread Brian C. Lane
--- tests/Makefile.am | 2 ++ tests/t0102-print-readonly.sh | 30 ++ tests/t1105-mklabel-readonly.sh | 33 + 3 files changed, 65 insertions(+) create mode 100644 tests/t0102-print-readonly.sh create mode 100644 tests/t1

[parted-devel] [PATCH 4/5] libparted: Leave device in read_only mode

2023-02-09 Thread Brian C. Lane
Now that the device can be opened in read only mode on purpose, don't set the read_only to 0 on success. If read_only happens because of an actual problem with the device it's safer to leave it anyway, and this makes parted return the proper error when trying a write operation: Error: Can't writ

[parted-devel] [PATCH 3/5] parted: Add --readonly cmdline option

2023-02-09 Thread Brian C. Lane
This sets the device read_only flag, and opens the device in read only mode. Any attempted write operations will result in an error. --- parted/parted.c | 70 ++--- 1 file changed, 43 insertions(+), 27 deletions(-) diff --git a/parted/parted.c b/parted/

[parted-devel] [PATCH 2/5] tests: Add a libparted test for reading the disk with read_only=1

2023-02-09 Thread Brian C. Lane
Make sure the disk can be read, using gpt and msdos disklabels it verifies that it can read the gpt partition name, and the partition geometry. --- libparted/tests/Makefile.am| 6 +- libparted/tests/read_only.c| 133 + libparted/tests/t1002-read_only.s

[parted-devel] [PATCH 0/5] Add --readonly flag to parted

2023-02-09 Thread Brian C. Lane
only. This is slightly different from previous behavior and use of read_only in that if something else triggers read only mode it will not revert to write until closed and exited. Which is fine, unexpected problems shouldn't really keep trying write mode. Let me know what you think. Brian B

[parted-devel] [PATCH 1/5] arch: allow to open devices in read-only mode

2023-02-09 Thread Brian C. Lane
emove/add" and "change" in cases, where users are only interested in read-only functional, like reading a partitions list. Signed-off-by: Konstantin Kharlamov Signed-off-by: Brian C. Lane --- libparted/arch/beos.c | 2 +- libparted/arch/linux.c | 2 +- 2 files changed, 2 insert

[parted-devel] [PATCH] tests: Fixing libparted test framework usage

2023-02-07 Thread Brian C. Lane
The fail and fail_if functions from libcheck are deprecated, replace them with ck_abort_msg and ck_assert_msg. Note that the logic of assert is the opposite of fail_if. --- libparted/tests/common.c | 8 libparted/tests/disk.c| 6 +++--- libparted/tests/flags.c | 6 +++--- libpar

[parted-devel] [PATCH 1/2] arch: allow to open devices in read-only mode

2023-02-03 Thread Brian C. Lane
emove/add" and "change" in cases, where users are only interested in read-only functional, like reading a partitions list. Signed-off-by: Konstantin Kharlamov Signed-off-by: Brian C. Lane --- libparted/arch/beos.c | 2 +- libparted/arch/linux.c | 2 +- 2 files changed, 2 insert

[parted-devel] [PATCH 2/2] tests: Add a libparted test for reading the disk with read_only=1

2023-02-03 Thread Brian C. Lane
Make sure the disk can be read, using gpt and msdos disklabels it verifies that it can read the gpt partition name, and the partition geometry. --- libparted/tests/Makefile.am| 6 +- libparted/tests/read_only.c| 133 + libparted/tests/t1002-read_only.s

Re: [parted-devel] [PATCH] arch: allow to open devices in read-only mode

2023-02-03 Thread Brian C. Lane
ead of time if it will need it to be writable. I looked at the lazy patch from Arvin, but I'm not too excited about re-opening things in the middle of it being used. Just seems dangerous, but I'll think about it some more. This patch is a good intermediate step though, thanks! 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

Re: Always Prompt for Network Settings

2023-01-09 Thread Brian C. Lane
like this is to write an anaconda plugin or a initial setup plugin (https://github.com/rhinstaller/initial-setup). Some people have managed to get things like this to work in %post but it really isn't supported. Brian -- Brian C. Lane

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

Re: Debugging kickstart

2022-12-13 Thread Brian C. Lane
l to hang? For installation problems you should talk to the anaconda team, kickstart is just the parser for the kickstart files, anaconda (and various other normal linux applications) are what do the booting and installing. https://fedoraproject.org/wiki/Anaconda#Mailing_Lists Brian -- Brian

Re: [parted-devel] [PATCH] gpt: Add no-automount partition flag

2022-12-13 Thread Brian C. Lane
On Tue, Dec 13, 2022 at 12:49:56PM +, Mike Fleetwood wrote: > On Mon, 12 Dec 2022 at 19:03, Brian C. Lane wrote: > > > > On Sun, Dec 11, 2022 at 10:29:21AM +, Mike Fleetwood wrote: > > > Add user requested support for GPT partition type attribute bit 63 [1] >

Re: [parted-devel] [PATCH] gpt: Add no-automount partition flag

2022-12-12 Thread Brian C. Lane
ts, and while I feel a bit silly for asking, I think it needs to be no_automount with an underscore. I should caught linux-home when it was added, but missed it. All the other flags use underscores so let's stick with that. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

Re: Small rant: installer environment size

2022-12-09 Thread Brian C. Lane
On Fri, Dec 09, 2022 at 02:38:48PM -0600, Chris Adams wrote: > Once upon a time, Brian C. Lane said: > > On Thu, Dec 08, 2022 at 02:17:22PM -0600, Chris Adams wrote: > > > One other thing that I noticed a while back that takes up a chunk of > > > space is the ker

Re: Small rant: installer environment size

2022-12-09 Thread Brian C. Lane
n is correct, if you boot from an ISO, USB, or NFS the squashfs image is not read into memory. If you are PXE booting (without using NFS for stage2) then it all goes into RAM. Loading firmware off the iso later isn't going to help things :) Brian -- Brian C. Lane (PST8PDT) - weldr

Re: Small rant: installer environment size

2022-12-09 Thread Brian C. Lane
boot/ and another inside the install.img under /usr/lib/modules... I think I tried removing the kernel from the install.img at one point, but it ended up being required for FIPS (see https://github.com/weldr/lorax/issues/1021). And when there were 2 kernels on the iso they were hardlinked (

Re: Small rant: installer environment size

2022-12-09 Thread Brian C. Lane
/var/cache doesn't need to be cleaned up, it only has directories created by installing rpm packages. Remember, this is not the rootfs of a running system, it is built by installing a pile of rpms and then selectively removing bits and pieces of those rpms to try and trim the size. Bria

Re: Small rant: installer environment size

2022-12-08 Thread Brian C. Lane
in I wonder if there is some usefulness to a no-firmware image for virt installs where none(?) of the firmware files are used. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ devel mailing list -- devel@lists.fedoraproj

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

Re: F39 proposal: Replace DNF with DNF5 (System-Wide Change proposal)

2022-09-28 Thread Brian C. Lane
1 https://github.com/rpm-software-management/dnf5/issues/66 Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedorapro

Re: Release criteria proposal: except BitLocker-enabled installs from Windows dual-boot criterion bootloader requirement

2022-09-20 Thread Brian C. Lane
eferred method and leave it at that. And while there may be a possible solution using BootNext, until someone does the work and tests it there is no point in requiring grub2 to do something it cannot do. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___

Re: FYI: livesys and livesys-late init.d files left over after Fedora installation

2022-09-19 Thread Brian C. Lane
#x27;t run without it. They also check for /.liveimg-configured or /.liveimg-late-configured and won't run with those files present. https://pagure.io/fedora-kickstarts/blob/main/f/fedora-live-base.ks Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

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

Re: [parted-devel] [PATCH 1/4] libparted: Fix handling of gpt partition types

2022-08-10 Thread Brian C. Lane
On Tue, Aug 09, 2022 at 10:09:14PM +0200, Håkon Løvdal wrote: > On Tue, 9 Aug 2022 at 02:41, Brian C. Lane wrote: > > +/* is_skip_guid checks the guid against the list of guids that should not > > be > > + * overridden by set_system. It returns a 1 if it is in the list. >

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

[parted-devel] [PATCH 4/4] tests: Add a libparted test for ped_partition_set_system on msdos

2022-08-08 Thread Brian C. Lane
Test the libparted API to make sure the flag is not cleared by calling ped_partition_set_system. --- libparted/tests/flags.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/libparted/tests/flags.c b/libparted/tests/flags.c index c83a361..c4b290b 100644 ---

[parted-devel] [PATCH 3/4] libparted: Fix handling of msdos partition types

2022-08-08 Thread Brian C. Lane
This restores the previous behavior by testing the partition type against the list of known types and skipping the filesystem type reset. Now the sequence of: ped_partition_new(...) ped_partition_set_flag(part, PED_PARTITION_BLS_BOOT, 1); ped_partition_set_system(part, ped_file_system_type_get("ex

[parted-devel] [PATCH 2/4] tests: Add a libparted test for ped_partition_set_system on gpt

2022-08-08 Thread Brian C. Lane
Test the libparted API to make sure the flag is not cleared by calling ped_partition_set_system. --- libparted/tests/Makefile.am| 6 ++- libparted/tests/flags.c| 81 ++ libparted/tests/t1001-flags.sh | 23 ++ 3 files changed, 108 insertions(+),

[parted-devel] [PATCH 1/4] libparted: Fix handling of gpt partition types

2022-08-08 Thread Brian C. Lane
This restores the previous behavior by testing the GUID against the list of known types and skipping the filesystem GUID reset. Now the sequence of: ped_partition_new(...) ped_partition_set_flag(part, PED_PARTITION_BIOS_GRUB, 1); ped_partition_set_system(part, ped_file_system_type_get("ext4")); W

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

Re: [parted-devel] 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

[parted-devel] [PATCH] disk.in.h: Remove use of enums with #define

2022-08-04 Thread Brian C. Lane
The preprocessor doesn't evaluate the enum, so it ends up being 0, which causes problems for library users like pyparted which try to use the _LAST value to conditionally include support for newer flags. Instead just define the int that is the first and last entry in each enum. Thanks to adamw an

Re: [parted-devel] [PATCH 0/1] Fixed typo/copy-and-paste error

2022-07-27 Thread Brian C. Lane
y actual problems at this point. I've adjusted the commit messages a bit to make them clearer and pushed this one and the json output simplification to the master branch after running the tests on it. Thanks! Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

Re: Live USB rescue mode, do we still have one? Does it work?

2022-05-27 Thread Brian C. Lane
naconda/blob/master/data/liveinst/liveinst#L93 Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Co

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

Re: [parted-devel] [PATCH 0/2] A couple small changes

2022-05-13 Thread Brian C. Lane
Oh, and I forgot to make sure, you also want the DASD swap patch included, right? I tested all this with it applied on top of your v3 patch. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

Re: F37 proposal: BIOS boot.iso with GRUB2 (System-Wide Change proposal)

2022-05-13 Thread Brian C. Lane
B2 works as a replacement in most situations and > > continues to have upstream support. > > So aside from my comment on the PR, my other note: what about live > images? Don't those use syslinux for BIOS boot too? There doesn't seem The PR includes the same changes for the li

[parted-devel] [PATCH 0/2] A couple small changes

2022-05-13 Thread Brian C. Lane
inall :) It now passes and the type is no longer unexpectedly changed. I'll let this bake over the weekend, if nobody else has comments I'll merge it into master on Monday. Thanks, Brian Brian C. Lane (2): parted: Reset the filesystem type when changing the id/uuid tests: t3200-

[parted-devel] [PATCH 1/2] parted: Reset the filesystem type when changing the id/uuid

2022-05-13 Thread Brian C. Lane
Without this the print command keeps showing the type selected with mkpart, which doesn't match the id/uuid set by the user. So rescan the partition for a filesystem. --- parted/parted.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parted/parted.c b/parted/parted.c index b8a4acf..96da30d

[parted-devel] [PATCH 2/2] tests: t3200-type-change now passes

2022-05-13 Thread Brian C. Lane
--- tests/Makefile.am | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 2da653b..1d109d7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,3 @@ -XFAIL_TESTS = \ - t3200-type-change.sh - TEST_EXTENSIONS = .sh SH_LOG_COMPILER = $(SHE

[parted-devel] [PATCH] libparted: Fix problem with creating 1s partitions

2022-05-10 Thread Brian C. Lane
There was a 1-off error in _partition_get_overlap_constraint that prevented partitions from being created in 1s free space. You could create 1s partitions as long they were done in order, but not after leaving 'holes'. This fixes this and adds tests for it on msdos and gpt disklabels. --- libpart

Re: [parted-devel] [PATCH 0/1] add swap flag for DASD label

2022-05-06 Thread Brian C. Lane
vior of the *_set_system function, and read_dasd and I prefer to get the opinion of someone from IBM on this before merging it. If merged as is, with the change in *_set_system behavior, it will of course fit right in with the msdos changes and bumping the API. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

Re: [parted-devel] [PATCH v2 0/1] direct handling of partition type-id and -uuid

2022-05-06 Thread Brian C. Lane
sers at least :) Comments and discussion welcome from others as well. Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

Re: New version of mkksiso could use some testing

2022-05-04 Thread Brian C. Lane
On Wed, May 04, 2022 at 12:07:36PM -0400, Neal Gompa wrote: > On Wed, May 4, 2022 at 11:38 AM Brian C. Lane wrote: > > > > After the recent discussions about xorriso I realized that I could > > vastly simplify mkksiso, AND make it work as a normal user :) So I did. &

New version of mkksiso could use some testing

2022-05-04 Thread Brian C. Lane
don't need all of pylorax when installing it. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora

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

Re: F37 Change: Legacy Xorg Driver Removal (System-Wide Change proposal)

2022-04-28 Thread Brian C. Lane
th the > anaconda team, though (and I think with bcl to get the necessary > changes into the image bootloader configurations). Or a PR on the config files. Which will be changing soon, I hope. https://github.com/weldr/lorax/tree/master/share/templates.d/99-generic/config_files Brian

Re: [parted-devel] how to create compatible msdos partition tables?

2022-04-26 Thread Brian C. Lane
On Tue, Apr 26, 2022 at 08:59:00AM +, Arvin Schnell wrote: > On Mon, Apr 25, 2022 at 09:14:41AM -0700, Brian C. Lane wrote: > > On Sat, Apr 23, 2022 at 08:55:41AM +0200, Harald Dunkel wrote: > > > > > Would it be possible to extend parted to allow listing and explicit

Re: grub2 BIOS booting iso and code

2022-04-26 Thread Brian C. Lane
still works with qemu bios/uefi/cdrom/hd as well has UEFI laptop, MacBook Air, and old Dell Inspiron 1525. If this fixes the boot issues with the XPS 15 then it's probably worth using this instead of the 'clean' GPT method and then revisit later once BIOS support finally goes awa

Re: [parted-devel] how to create compatible msdos partition tables?

2022-04-25 Thread Brian C. Lane
uld use some improvement, it has similar issues with GPT disks. At one time I looked into adding the ability to support arbitrary GUIDs but found it would be pretty difficult to add to libparted, requiring extensive changes. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

  1   2   3   4   5   6   7   8   9   10   >