[Bug 269864] /rescue/zcat does not behave like zcat

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Feb 2023 00:36:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269864

            Bug ID: 269864
           Summary: /rescue/zcat does not behave like zcat
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dave@jetcafe.org

So when booting 13-STABLE (specifically commit
44a6088278ea3ae6e98b04d9863d7fdf033f26a3) I get the following:

 /rescue/zcat somefile.gz | dd ...
 zcat: somefile.gz already has .gz suffix, unchanged

It appears that zcat thinks it's gzip. I say this because

 /rescue/zcat -c -d somefile.gz | dd ...

works. At the very least, if this is not something I did mistakenly, this is a
POLA violation.

-- 
You are receiving this mail because:
You are the assignee for the bug.