Files
cheatsheet-tldr/tldr/f3fix
2024-10-13 00:18:36 +00:00

23 lines
538 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# f3fix
> Edit the partition table of a fake flash drive.
> See also: `f3probe`, `f3write`, `f3read`.
> More information: <https://oss.digirati.com.br/f3/>.
- Fill a fake flash drive with a single partition that matches its real capacity:
`sudo f3fix {{/dev/device_name}}`
- Mark the partition as bootable:
`sudo f3fix --boot {{/dev/device_name}}`
- Specify the filesystem:
`sudo f3fix --fs-type={{filesystem_type}} {{/dev/device_name}}`