[pbs-devel] [PATCH proxmox-backup 0/2] api: disks: directory: fail if mount unit already exists

Fiona Ebner f.ebner at proxmox.com
Wed Nov 27 16:06:56 CET 2024


Protect against overriding a pre-existing mount unit during creation
of a directory (datastore). The unit might belong to an existing
datastore.

Fiona Ebner (2):
  api: disks: directory: factor out helper for mount unit path
  api: disks: directory: fail if mount unit already exists

 src/api2/node/disks/directory.rs | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

-- 
2.39.5





More information about the pbs-devel mailing list