My old script for compressing a modified file system doesn't work with zstd as advdef doesn't seem to understand zstd. Is there a new how-to on how to do this? Here's the old script:#!/bin/bash
cd coreRoot
find | cpio -o -H newc | gzip -2 > ../tinycore.gz
cd ..
advdef -z4 tinycore.gz
If I simple replace gzip with zstd, and change the extensions, advdef fails.