Expand description
/drives/{id} PUT and PATCH bodies.
Per 21-api-compat-matrix.md /drives/{id}
PUT:
drive_id—^[A-Za-z0-9_]{1,64}$(DriveIdnewtype).path_on_host—SafePath(1024-byte cap, no NUL).cache_type—Unsafe | Writeback.io_engine—Sync | Async.partuuid— optional; whenis_root_devicetrue, threaded intoroot=PARTUUID=.socket(vhost-user) —A: accept-and-warn at config-load.
Diffs from upstream are intentionally absent at this layer; the deviations are
enforced at the controller / VMM stage (e.g. vhost-user socket warning).
Structs§
- Drive
Config - Validated
/drives/{id}PUT body. - Drive
Patch - Validated
/drives/{id}PATCH body. - RawDrive
Config - Raw
/drives/{id}PUT body off the wire. - RawDrive
Patch - Raw
/drives/{id}PATCH body. Every mutable field optional.