Skip to content

Final warning message "Formatting /dev/sdX" is wrong and scary #3863

@fretman92

Description

@fretman92

Hello, first time install of arch, I picked a specific partition to install the root fs (not the whole drive), and the final warning it gave me was
Formatting /dev/nvme0n1 in 5...4.. -> where nvme0n1 is the drive, not the selected partition (which was nvme0n1p6).

It was scary because I have a data partition on this disk I did not want to lose (no backup yolo)

I think this is the code responsible for this line

out = tr(' ! Formatting {} in ').format(device_paths)

Could this be maybe changed to only include the partitions that will be impacted, rather than the whole device?
Something like Formatting selected partitions in /dev/nvme0n1 in 5...4..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions