proxmox-backup/src
Stefan Reiter 2d7d6e61be mount/map: use names for map/unmap for easier use
So user doesn't need to remember which loop devices he has mapped to
what.

systemd unit encoding is used to transform a unique identifier for the
mapped image into a suitable name. The files created in /run/pbs-loopdev
will be named accordingly.

The encoding all happens outside fuse_loop.rs, so the fuse_loop module
does not need to care about encodings - it can always assume a name is a
valid filename.

'unmap' without parameter displays all current mappings. It's
autocompletion handler will list the names of all currently mapped
images for easy selection. Unmap by /dev/loopX or loopdev number is
maintained, as those can be distinguished from mapping names.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-10-08 08:35:52 +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 mount/map: use names for map/unmap for easier use 2020-10-08 08:35:52 +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 mount/map: use names for map/unmap for easier use 2020-10-08 08:35:52 +02:00
api2.rs move subscription API path to /nodes 2020-07-21 19:33:52 +02:00
auth.rs introduce Username, Realm and Userid api types 2020-08-10 12:05:01 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +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