What is this? umockdev is a set of tools and a library to mock
hardware devices for programs that handle Linux hardware
devices. It also provides tools to record the properties and
behaviour of particular devices, and to run a program or test
suite under a test bed with the previously recorded devices
loaded. This allows developers of software like gphoto or libmtp
to receive these records in bug reports and recreate the problem
on their system without having access to the affected hardware,
as well as writing regression tests for those that do not need
any particular privileges and thus are capable of running in
standard After working on it for several weeks and lots of
rumbling on G+, it’s now useful and documented enough for the
first release 0.1! umockdev consists of the following parts:
umockdev-record program generates text dumps (conventionally
called *.umockdev) of some specified, or all of the system’s
devices and their sysfs attributes and udev properties. It can
also record ioctls that a particular