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

From: Carl Karsten
Date: Tue Dec 20 2011 - 18:50:24 EST


On Tue, Dec 20, 2011 at 5:43 PM, Stefan Richter
<stefanr@xxxxxxxxxxxxxxxxx> wrote:
> 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)

To further describe my pain: I am going to run dmesg anyway to see if
the device is being detected and or any errors. Once I see that it is
connected, it is really nice having the guid right there.

I am really bummed I didn't invite you to PyCon in Leipzig so you
could see what I do first hand. Maybe next time.

--
Carl K
--
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/