Re: [PATCH 1/3] firewire: do not expose globally unique IDs in thekernel log

From: Stefan Richter
Date: Tue Dec 20 2011 - 18:44:07 EST


On Dec 21 Stefan Richter wrote:
> Or you run "grep . /sys/bus/firewire/devices/*/guid | sed s/\\/guid:/\\t/"
> before dvgrab, and you get a list of GUIDs from which you can copy and
> paste.

Or
(cd /sys/bus/firewire/devices; grep . $(ls -c */guid)) | sed s/\\/guid:/\\t/

for a list in reverse-chronological order of discovery.
Same but narrowed down to AV/C devices:

(cd /sys/bus/firewire/devices; for fw in $(grep 0x00a02d:0x010001 $(ls -c */units) | cut -f1 -d/); do printf $fw\\t; cat $fw/guid; done)
--
Stefan Richter
-=====-==-== ==-- =-=-=
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/