]> git.proxmox.com Git - proxmox-backup.git/commit
file-restore-daemon: disk: add RawFs bucket type
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 17 May 2021 12:31:37 +0000 (14:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 May 2021 05:53:22 +0000 (07:53 +0200)
commite379b4a31cd0849ed6821730bd9ff9509024250c
treec14ff5ff37a8220164a2ccd6b08845a72772fb32
parent3d7ca2bdb90d6b39f1b927f4cbb8278cb02f4452
file-restore-daemon: disk: add RawFs bucket type

Used to specify a filesystem placed directly on a disk, without a
partition table inbetween. Detected by simply attempting to mount the
disk itself.

A helper "make_dev_node" is extracted to avoid code duplication.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
src/bin/proxmox_restore_daemon/disk.rs