# SD Card Layout

The PX4 SD Card is used for storing configuration files, flight logs, mission information etc.

:::tip The SD card should be FAT32 formatted for use with PX4 (this is the default for SD cards). We recommend that you reformat cards that are using a different file system. :::

The directory structure/layout is shown below.

| Directory/File(s)       | Description                                                                                                                                            |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `/etc/`                 | Extra config. See [System Startup > Replacing the System Startup](/px4-user-guide/development/concept/system_startup.md#replacing-the-system-startup). |
| `/log/`                 | Full [flight logs](/px4-user-guide/development/debug/logging.md)                                                                                       |
| `/mission_log/`         | Reduced flight logs                                                                                                                                    |
| `/fw/`                  | [DroneCAN](/px4-user-guide/drone_parts/peripherals/dronecan.md) firmware                                                                               |
| `/uavcan.db/`           | DroneCAN DNA server DB + logs                                                                                                                          |
| `/params`               | Parameters (if not in FRAM/FLASH)                                                                                                                      |
| `/dataman`              | Mission storage file                                                                                                                                   |
| `/fault_<datetime>.txt` | Hardfault files                                                                                                                                        |
| `/bootlog.txt`          | Boot log file                                                                                                                                          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://px4.gitbook.io/px4-user-guide/development/concept/sd_card_layout.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
