[Bug 292284] Please include lsparse(1) utility as /bin/lssparse

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Jan 2026 20:49:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292284

            Bug ID: 292284
           Summary: Please include lsparse(1) utility as /bin/lssparse
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: aurelien.couderc2002@gmail.com

Please include
http://svn.nrubsig.org/svn/people/gisburn/code/sparsefiles/lssparse.c in
FreeBSD as /bin/lssparse

This tool shows the layout of data and hole sections in so-called "sparse
files" which are used by databases, HPC simulation software, virtual disks and
other applications.

Windows has similar functionality with C:\Windows\system32\fsutil.exe sparse
queryrange 'filename' (ref
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-sparse),
but *BSD currently lacks functionality to query the layout of hole and data
sections in files from the command line.

The tool itself is from SUN's Solaris codebase, already part of Cygwin, MSYS2,
Opensolaris distros and some Linux distributions, and a candidate for the
POSIX(1) standard, as it is at least around since 2011.

License is the same MIT license as X11.
The code is Solaris cstyle-clean, as it came from SUN.

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