mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-04-03 00:28:39 -06:00
[issue]: Provide opaque and stable identifier for partition with boot images #259
Labels
No labels
Fixed
Fixed
Fixed
Not an issue
Not an issue
Not an issue
USB Hardware Issue
USB Hardware Issue
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
【Tested Image Report】
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/Ventoy#259
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @youk on 2/13/2025
Official FAQ
Ventoy Version
1.1.02
What about latest release
Yes. I have tried the latest release, but the bug still exist.
Try alternative boot mode
Yes. I have tried them, but the bug still exist.
BIOS Mode
UEFI Mode
Partition Style
GPT
Disk Capacity
64GB
Disk Manufacturer
No response
Image file checksum (if applicable)
None
Image file download link (if applicable)
No response
What happened?
New Linux Remount Feature makes partitions on USB device accessible via alternative locations (
/dev/mapper/xxx). Unfortunately, it relies solely on partition names (i.e./dev/sda1will be accessible as/dev/mapper/sda1). Such a naming scheme is inflexible. As partition names in Linux are assigned dynamically, the name can be different depending on where USB device is plugged in. Compare this with having well-known and stable identifier. For example, on many modern Linux systems partitions are accessible under/dev/disk/by-labelby their label. Should one have some automation script that reads from USB, it won't have to care about the partition name (which is unknown in advance).VTOY_LINUX_REMOUNTworked transparently and one shouldn't know the partition name. Now that it doesn't work, one have to either manually remove devices mapped by Ventoy (i.e.dmsetup remove ventoy; dmsetup remove sda1) or use hardcoded partition name (/dev/mapper/sda1). Please consider providing a location which doesn't depend on the partition name (ideally, based on the partition label).BTW, I don't find the name "Linux Remount Feature" especially good. It is confusing and doesn't reflect what is actually happening under the hood. It really should be something like "Partition Mapping/Remapping" or even "Partition Aliasing".