[pbs-devel] [PATCH pxar 3/6] update mk-format-hashes for a new ENTRY
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue Jul 28 12:33:18 CEST 2020
Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
examples/mk-format-hashes.rs | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/examples/mk-format-hashes.rs b/examples/mk-format-hashes.rs
index d2c9925..4ab6fff 100644
--- a/examples/mk-format-hashes.rs
+++ b/examples/mk-format-hashes.rs
@@ -1,7 +1,16 @@
use pxar::format::hash_filename;
const CONSTANTS: &[(&str, &str, &str)] = &[
- ("", "PXAR_ENTRY", "__PROXMOX_FORMAT_ENTRY__"),
+ (
+ "Beginning of an entry (current version).",
+ "PXAR_ENTRY",
+ "__PROXMOX_FORMAT_ENTRY_V2__",
+ ),
+ (
+ "Previous version of the entry struct",
+ "PXAR_ENTRY_V1",
+ "__PROXMOX_FORMAT_ENTRY__",
+ ),
("", "PXAR_FILENAME", "__PROXMOX_FORMAT_FILENAME__"),
("", "PXAR_SYMLINK", "__PROXMOX_FORMAT_SYMLINK__"),
("", "PXAR_DEVICE", "__PROXMOX_FORMAT_DEVICE__"),
--
2.20.1
More information about the pbs-devel
mailing list