docs: Disk pass-through

This commit is contained in:
Kroese 2025-04-03 10:26:53 +02:00 committed by GitHub
parent 105db123af
commit 3bc1c80682
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -301,12 +301,12 @@ kubectl apply -f https://raw.githubusercontent.com/qemus/qemu-arm/refs/heads/mas
### How do I pass-through a disk?
It is possible to pass-through disk devices directly by adding them to your compose file in this way:
It is possible to pass-through disk devices or partitions directly by adding them to your compose file in this way:
```yaml
devices:
- /dev/sdb:/disk1
- /dev/sdc:/disk2
- /dev/sdc1:/disk2
```
Use `/disk1` if you want it to become your main drive, and use `/disk2` and higher to add them as secondary drives.