Skip to content

[cmds] Have fdisk check for MBR-capable block device for safety#2069

Merged
ghaerr merged 3 commits intomasterfrom
fdisk
Oct 7, 2024
Merged

[cmds] Have fdisk check for MBR-capable block device for safety#2069
ghaerr merged 3 commits intomasterfrom
fdisk

Conversation

@ghaerr
Copy link
Owner

@ghaerr ghaerr commented Oct 7, 2024

Inspired by @Mellvik's Mellvik/TLVC#89. This version checks the minor device number and requires specification of an MBR-capable block device.

Make executable smaller using updated tiny_printf.c.
Rewrites some error message to properly show errno number.
Reformats source code for readability.

@ghaerr ghaerr merged commit 421c2a5 into master Oct 7, 2024
@ghaerr ghaerr deleted the fdisk branch October 7, 2024 16:24
@toncho11
Copy link
Contributor

I propose this commit code and build for version 8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants