[pve-devel] [RFC storage] content-dirs: check that all content dirs are pairwise inequal

Fiona Ebner f.ebner at proxmox.com
Wed Jun 7 12:01:54 CEST 2023


Am 21.03.23 um 18:03 schrieb Friedrich Weber:
> This prevents strange interactions in case the same content directory
> is used for multiple content types.
> 

Should we also check in the create/update API calls for syntactic
duplicates and fail the call? E.g. I can successfully issue:
pvesh set /storage/foo --content-dirs backup=bar,iso=bar
and only get the error later during activation.





More information about the pve-devel mailing list