urdig
The udev recognized devices information grabber.
Installation
Use pre-compiled binaries
... install as snap
Build from source
Pre-requirements
You need the udev development files, which could be installed by following commands (at the according distributions):
Distribution | Installation command |
---|---|
Fedora | dnf install systemd-devel |
Ubuntu | apt install libudev-dev |
Debian | apt install libudev-dev |
You need also a rust compiler and cargo. The most suitable way to install it, is using rustup:
|
installing via cargo install
You can easy install urdig by
building manually
You could download the tool manually and build it with cargo:
The binary can be find at ./target/release/urdig
.
Usage
You can print the help menu by using
)
and grab informations of any device
$ urdig device -p /dev/sda
[output omitted]