Re: [OCLUG-Tech] how to use udevadm to print *just* KERNEL and SUBSYSTEM?

2013-03-18 Thread Walt Sullivan
Append "| egrep 'looking at|KERNEL==|SUBSYSTEM=='" to your command. On Sat, 2013-03-16 at 13:41 -0400, Robert P. J. Day wrote: > currently writing a tutorial on udev and i'm drawing a blank on > something that should be simple -- what variation of udevadm can i use > to print just the KERNEL and S

Re: [OCLUG-Tech] how to use udevadm to print *just* KERNEL and SUBSYSTEM?

2013-03-16 Thread Rob Echlin
> > From: Robert P. J. Day >To: Ottawa Linux Users Group >Sent: Saturday, March 16, 2013 1:41:17 PM >Subject: [OCLUG-Tech] how to use udevadm to print *just* KERNEL and SUBSYSTEM? > > >  currently writing a tutorial on udev and i'm

[OCLUG-Tech] how to use udevadm to print *just* KERNEL and SUBSYSTEM?

2013-03-16 Thread Robert P. J. Day
currently writing a tutorial on udev and i'm drawing a blank on something that should be simple -- what variation of udevadm can i use to print just the KERNEL and SUBSYSTEM values corresponding to a device? here's the tutorial: http://www.crashcourse.ca/wiki/index.php/Udev it's still *very