Skip to content

Overly broad error: Target media is not an entire storage device #90

@kevinoid

Description

@kevinoid

Good Habit Checklist for Issue Reporting

Checkout Mastering Markdown · GitHub Guides if you needs help on the GitHub-flavored Markdown syntax. You may remove sections and contents that don't apply.

  • I've searched the issue tracker and is pretty sure that there's no duplicate issue already filed
  • I've built the latest development snapshot using the instructions in README and verified that the issue can still be reproduced (for bug reports)

Issue Reproduce Instructions

  1. Launch WoeUSB by running woeusb --device Win10.iso /dev/disk/by-id/usb-Kanguru_FlashBlu_0702353730542E72-0:0

Expected Behavior

No error

Current Behavior

WoeUSB produces the following error message whenever the device path ends with a digit:

ERROR: Target media "/dev/disk/by-id/usb-Kanguru_FlashBlu_0702353730542E72-0:0" is not an entire storage device!

Info of My Environment

WoeUSB Version

v0.2.5-64-gbcb7583

WoeUSB Source

Built from source code, commit bcb7583

Information about the Operating System

Debian GNU/Linux bookworm/sid

Information about the Source Media

"Windows 10 2022 Update | Version 22H2" downloaded from https://www.microsoft.com/en-us/software-download/windows10ISO

Information about the Target Device

8GB Kanguru FlashBlu USB2.0 flash drive

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions