[jump to content][No Software Patents]Tools (new) : udevraw [ Home | Scylla+Charybdis old home | Tools (old) | Tools (new) | FAQ | Downloads ]

Scylla and Charybdis, udevraw - Tools

The tools are developed under Linux with ESR's paradigm release early, release often in mind.
So you can consider this beta software, or alpha, or pre-alpha, or even worse ;)

Have a look in the download directory for all downloads.
As always here, all you get is the source. No binaries here.

udevraw 0.1.0-20110918-184628

Dump udev events for bash usage (look into latest version, download latest version 0.1.0-20110918-184628, sig)

udevraw allows you to process udev events from shell. In contrast to "udevadm monitor" it is designed to be used directly from quick-and-dirty bash scripts.

Udev is not able to detect the change of a medium until that medium is accessed. It is able to see USB plug events of card readers, but not of the memory card in the reader. If you want to actively poll for a card change, see the "plug.sh" example script how to do that.

History:

version 0.1.0-20110918-184628

download (252043 bytes) sig

WARNING: The output is not backward compatible. See usage. Options -a -e -i -p and plug.sh added.

Look into the source or experiment to see what can be done. This is probably still far from ready yet.

Example to see everything:

udevraw -e '*'

Example to monitor for device change events:

udevraw -a change -f block -d disk

Sadly udevraw does not work properly on memory cards. I do not get any event when I plug in a card. The kernel only detects changes when I access the card.

As a workaround, see plug.sh

version 0.0.0-20110412-003623

download (248213 bytes) sig

First version, it works

License and Disclaimer

All you can see here is free software according to the GNU GPL.
Copyright (C)2000-2011 by Valentin Hilbig
Note that the software comes with absolutely no warranty of any kind.
You use the software at your own risk.
Valentin Hilbig cannot be hold responsible for any unintended damage,
lost data or malfunction of the software you can find here.

[FSFE contributor 2007]

[end of page - jump back to content][hacker culture]
Last modified: 2011-09-12 by Valentin Hilbig [ Imprint / Impressum ]