docs: Disk pass-through

This commit is contained in:
Kroese 2025-04-03 10:29:30 +02:00 committed by GitHub
parent d5c9b7a2aa
commit d4167ed90a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -318,12 +318,12 @@ The example folder `./example` will be available as ` \\host.lan\Data`.
### How do I pass-through a disk? ### 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 ```yaml
devices: devices:
- /dev/sdb:/disk1 - /dev/sdb:/disk1
- /dev/sdc:/disk2 - /dev/sdc1:/disk2
``` ```
Use `/disk1` if you want it to become your main drive (which will be formatted during installation), and use `/disk2` and higher to add them as secondary drives (which will stay untouched). Use `/disk1` if you want it to become your main drive (which will be formatted during installation), and use `/disk2` and higher to add them as secondary drives (which will stay untouched).