[pbs-devel] [PATCH proxmox-backup v8 02/23] pbs-api-types: add backing-device to DataStoreConfig

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Apr 22 09:12:49 CEST 2024


Am 19/04/2024 um 17:55 schrieb Hannes Laimer:
> Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
> ---
>  pbs-api-types/src/datastore.rs | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/pbs-api-types/src/datastore.rs b/pbs-api-types/src/datastore.rs
> index 9fe45bc0..469b2ba4 100644
> --- a/pbs-api-types/src/datastore.rs
> +++ b/pbs-api-types/src/datastore.rs
> @@ -160,6 +160,8 @@ pub const PRUNE_SCHEMA_KEEP_YEARLY: Schema =
>          .minimum(1)
>          .schema();
>  
> +pub const REMOVABLE_DATASTORE_MOUNT_DIR: &str = "/mnt/removable_datastore";

please use kebab-case: removable-datastore 

It would be great to write some reasoning for using a different mount
path for removable datastore, as IMO that's really not something
obvious..

In fact, why do we require having that separate?




More information about the pbs-devel mailing list