mirror of
https://github.com/apache/nuttx.git
synced 2026-09-01 14:43:02 +00:00
A drive that has been anywhere near another operating system almost always carries a partition table rather than a filesystem starting at sector zero, so the single block device this driver registers is usually the one thing nobody can mount. A USB stick written with an installer image is a good example: sector zero holds a protective MBR, and what somebody wants is the EFI system partition several gigabytes in. Read the table and give each partition a block device of its own beside the whole drive, named the way every other system names them. The parsing is already in the tree and understands both MBR and GPT; this only calls it and registers what it finds. The whole-drive node stays exactly where it was, for anyone who wants the raw thing or whose drive really does hold a bare filesystem. Assisted-by: Claude:claude-opus-5 Signed-off-by: Justin Hammond <justin@dynam.ac> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| hid_parser.c | ||
| Kconfig | ||
| Make.defs | ||
| usbhost_bthci.c | ||
| usbhost_cdcacm.c | ||
| usbhost_cdcecm.c | ||
| usbhost_cdcmbim.c | ||
| usbhost_composite.c | ||
| usbhost_composite.h | ||
| usbhost_devaddr.c | ||
| usbhost_drivers.c | ||
| usbhost_enumerate.c | ||
| usbhost_findclass.c | ||
| usbhost_ft232r.c | ||
| usbhost_hidkbd.c | ||
| usbhost_hidmouse.c | ||
| usbhost_hub.c | ||
| usbhost_max3421e.c | ||
| usbhost_registerclass.c | ||
| usbhost_registry.c | ||
| usbhost_registry.h | ||
| usbhost_skeleton.c | ||
| usbhost_storage.c | ||
| usbhost_trace.c | ||
| usbhost_waiter.c | ||
| usbhost_xboxcontroller.c | ||
| usbhost_xhci.h | ||
| usbhost_xhci_pci.c | ||
| usbhost_xhci_trace.c | ||
| usbhost_xhci_trace.h | ||