HomeFreeBSD

lesspipe: Allow zstd to operate on a symlink

Description

lesspipe: Allow zstd to operate on a symlink

By default zstd refuses to operate on symlinks, so for example
zless /var/crash/vmcore.last.zst failed to view the uncompressed core
file. Add -f to the zstd command line to allow operation on symlinks.

Reviewed by: delphij
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55101

(cherry picked from commit b4305c90a3be7e1a40b76545b8b761fdbda5c309)
(cherry picked from commit 68125692efacbce537e14ba16ecedff750cccc36)

Details

Provenance
emasteAuthored on Feb 4 2026, 4:56 PM
Reviewer
delphij
Differential Revision
D55101: lesspipe: Allow zstd to operate on a symlink
Parents
rGbaee504b868b: vnet: Ensure the space allocated by vnet_data_alloc() is sufficent aligned
Branches
Unknown
Tags
Unknown