config: add initial salvage settings

Prepare nwserv.conf/nw.ini template support for the upcoming NetWare salvage backend.

Add configuration entries for enabling salvage support and for selecting the recycle/salvage repository names. The default layout keeps deleted file payloads below .recycle and stores JSON metadata below .salvage.

This does not implement salvage handling yet. AFP 0x13 and the NCP salvage functions remain unsupported until the nwsalvage backend exists.
This commit is contained in:
Mario Fetka
2026-05-31 09:15:11 +00:00
parent e0ab095c05
commit 10d092bf71

View File

@@ -949,8 +949,29 @@
# <<< SMARTHOOK SECTION 47 END
# =========================================================================
# >>> SMARTHOOK SECTION 48-49 BEGIN
# 43-44 = not in use
# Section 48-49: Salvage / recycle support
#
# 48 = enable NetWare salvage support
# 0 = disabled
# 1 = enabled
#
# 49 = salvage/recycle repository names
# first value = recycle data repository
# second value = salvage metadata repository
#
# Deleted file payloads are moved below the recycle repository. Salvage
# metadata is stored separately as JSON below the salvage repository.
#
# Example layout for a deleted file:
# SYS/.recycle/SUPERVISOR/PUBLIC/PMDFLTS.INI
# SYS/.salvage/SUPERVISOR/PUBLIC/PMDFLTS.INI.json
#
# The initial defaults intentionally only prepare configuration for the later
# nwsalvage backend. AFP 0x13 and NCP salvage calls remain unsupported until
# backend handling exists.
# >>> SMARTHOOK SECTION 48-49 ACTIVE BEGIN
48 1
49 .recycle .salvage
# <<< SMARTHOOK SECTION 48-49 ACTIVE END
# <<< SMARTHOOK SECTION 48-49 END
# =========================================================================