bareos: master 318492e3

Author Committer Branch Timestamp Parent
arogge arogge master 2024-04-22 15:38 master 36454275 Pending
Changeset stored: add customization point for device setup

This adds a new virtual function setup() to device that will be called
when the device is created. Here the backend developer can run any
device-specific initialization, like parsing options, checking device
availability, etc.
Returning false from that function will fail the device initialization.
mod - core/src/stored/dev.cc Diff File
mod - core/src/stored/dev.h Diff File