diff --git a/opt/nw.ini.hook.cmake b/opt/nw.ini.hook.cmake index 048cca5..425cdf9 100644 --- a/opt/nw.ini.hook.cmake +++ b/opt/nw.ini.hook.cmake @@ -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 # =========================================================================