Bug 2215082 - [RFE] For the 'sfdisk' man page to further clarify the expected behavior and intended use of the -d option
Summary: [RFE] For the 'sfdisk' man page to further clarify the expected behavior and ...
Keywords:
Status: MODIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: util-linux
Version: 9.0
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: Radka Brychtova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-14 17:09 UTC by asshriva
Modified: 2023-08-10 09:28 UTC (History)
3 users (show)

Fixed In Version: util-linux-2.37.4-12.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-159887 0 None None None 2023-06-14 17:10:42 UTC

Description asshriva 2023-06-14 17:09:35 UTC
Document URL: sfdisk man -d option

Section Number and Name: 

Describe the issue: RFE for the 'sfdisk' man page to further clarify the expected behavior and intended use of the -d option.

Suggestions for improvement: 
Dump details included in sfdisk's -d dump option.

Additional information: 

Cu in 03520144 used -d option to dump the partition map from one of the drives to the rest, this reused the PARTUUID from original disk causing OS install to fail. Cu requesting to add details of this option included in dump.

Comment 5 Karel Zak 2023-06-21 09:00:12 UTC
(In reply to asshriva from comment #0) 
> Cu in 03520144 used -d option to dump the partition map from one of the
> drives to the rest, this reused the PARTUUID from original disk causing OS
> install to fail. Cu requesting to add details of this option included in
> dump.

Not sure if I fully understand. Does it mean that the user has tied to duplicate
the partition table on the same machine?

I agree that we can add some warning about duplicate partition types and UUIDs
to the man page. I have committed:
https://github.com/util-linux/util-linux/commit/60c81b3272d03959dfee465f1ecaf40ba3e70cb3


Note You need to log in before you can comment on or make changes to this bug.