Ignore EFI system partitions when mounting USB drives
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 40/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
调研方向
The payload does not name the mount code, so first find where USB partitions are enumerated and mounted to /U and /V on Systemcore. The EFI system partition can be recognized by GUID c12a7328-f81f-11d2-ba4b-00a0c93ec93b, and the issue offers two fixes: skip that partition, or mount partitions in a fixed order so the larger data partition is always /U. Check with a maintainer which fix they want. Done means a GPT drive with an extra ESP mounts consistently across reboots.
由索引模型根据 Issue 内容生成。
描述
If a USB drive is accidentally formatted with a GUID partition map instead of MBR, it sometimes contains an extra EFI system partition (encountered using Disk Utility on macOS). This partition is ignored on macOS and Windows, but on Systemcore the two partitions (ESP and the actual data) are mounted as /U and /V in a random order on each boot. This seems like it could be a common tripping point depending on how teams format their drives, even if MBR is documented as preferred.
I think the simplest solution would be to just skip mounting the ESP similar to macOS/Windows (based on my research, it always has the GUID c12a7328-f81f-11d2-ba4b-00a0c93ec93b so should be easy to identify). At a minimum, it would be best for the partitions to mount in a consistent order so that the (much larger) primary data partition ends always up as /U.
- 主要语言
- Java
- 星标
- 194
- 派生
- 26
- 平均合并
- 20 小时 40 分钟
- 30 天内合并 PR
- 13
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wpilibsuite/SystemcoreTesting 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
wpilibsuite/SystemcoreTesting#380 ·
维护者通常 1 天内回复
-
Limelight Pending
难度 1/5 1 小时以内 新手友好度 78/100
wpilibsuite/SystemcoreTesting#315 ·
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 45/100
wpilibsuite/SystemcoreTesting#427 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 22/100
wpilibsuite/SystemcoreTesting#425 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
wpilibsuite/SystemcoreTesting#423 ·
维护者通常 1 天内回复
查看 wpilibsuite/SystemcoreTesting 的全部 Issue
相似的 Issue
-
bug follow-up lane:backlog
难度 2/5 1-3 小时 新手友好度 82/100
Sanne/incus-spawn#1576 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
checkstyle/checkstyle#22069 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
it-at-m/eNoVa-Editor#79 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复