drinfo(1)
| DRINFO(1) | User Commands | DRINFO(1) |
NAME
drinfo - display information about drives and their storage usage
SYNOPSIS
drinfo [OPTION]
DESCRIPTION
drinfo lists all detected local and network drives and shows mount point, filesystem type, device path, UUID, label, mount options, used, available and inodes + SMART status (only as root).
It provides a visual representation of disk usage with gradient colored progress bars (green -> yellow -> red).
OPTIONS
- -h,--help
- Show help message and exit.
- -v,--version
- Show program version and exit.
- -j,--json
- Output drive information in JSON format. This is useful for parsing the output in scripts or other programs.
- -n,--no-color
- Disable ANSI color codes in the output. Use this option when redirecting output to a file or when running in a terminal that does not support colors.
- -s,--sort TYPE
- Sort the drives by the specified TYPE. Available types are:
- size
- Sort by total size (descending). This is the default.
- usage
- Sort by usage percentage (descending).
- mount
- Sort alphabetically by mount point.
- name
- Sort alphabetically by device name.
AUTHOR
Lennart Martens <monkeynator78@gmail.com>
LICENSE
MIT License
SEE ALSO
| November 2025 | Version 1.2.0 |
