proxmox-backup/src
Stefan Reiter 2deee0e01f fuse_loop: add automatic cleanup of run files and dangling instances
A 'map' call will only clean up what it needs, that is only leftover
files or dangling instances of it's own name.

For a full cleanup the user can call 'unmap' without any arguments.

The 'cleanup on error' behaviour of map_loop is removed. It is no longer
needed (since the next call will clean up anyway), and in fact fixes a
bug where trying to map an image twice would result in an error, but
also cleanup the .pid file of the running instance, causing 'unmap' to
fail afterwards.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-10-08 08:37:05 +02:00
..
api2 api2/status: add type- and statusfilter to tasks api call 2020-10-06 12:58:52 +02:00
backup src/tools/parallel_handler.rs: remove lifetime hacks, require 'static 2020-10-01 14:52:48 +02:00
bin fuse_loop: add automatic cleanup of run files and dangling instances 2020-10-08 08:37:05 +02:00
client format: fix typo in function name 2020-10-08 08:32:21 +02:00
config acl: document Admin and NoAccess a bit 2020-10-06 12:23:22 +02:00
pxar remove DummyCatalogWriter 2020-09-24 09:13:54 +02:00
rrd rrd: fix integer underflow 2020-10-01 14:30:32 +02:00
server task archive rotation: better handle non-existing archive 2020-10-05 10:04:16 +02:00
tools fuse_loop: add automatic cleanup of run files and dangling instances 2020-10-08 08:37:05 +02:00
api2.rs move subscription API path to /nodes 2020-07-21 19:33:52 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
auth.rs introduce Username, Realm and Userid api types 2020-08-10 12:05:01 +02:00
backup.rs backup: add BACKUP_GROUP_NAME const and backup_group helper 2020-08-26 10:27:47 +02:00
buildcfg.rs some clippy fixups 2019-09-11 12:14:05 +02:00
client.rs switch to external pxar and fuse crates 2020-06-08 13:56:58 +02:00
config.rs config: add JobState helper 2020-08-13 11:36:10 +02:00
lib.rs add simple rrd implementation 2020-05-23 10:42:48 +02:00
server.rs move src/api_schema/config.rs -> src/server/config.rs 2019-11-22 09:23:03 +01:00
tools.rs client: implement map/unmap commands for .img backups 2020-10-06 09:08:14 +02:00