Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Anyone can afford information about build kernel?
Date: Sun, 09 Oct 2011 14:04:05
Message-Id: 4E91A966.8050901@gmail.com
In Reply to: Re: [gentoo-user] Anyone can afford information about build kernel? by Michael Mol
1 Michael Mol wrote:
2 > Came up with something possibly a little handier. This command should
3 > tell you what driver is associated with every device on the system.
4 > find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' '
5 > -f10-|sed -e 's/\.\.\///g' Output could probably still be a bit better
6 > cleaned up, but it should help.
7
8 Hmmmmmm:
9
10 root@fireball / # find /sys/devices -name driver -print0|xargs -0 ls
11 -l|cut -d' '-f10-|sed -e 's/\.\.\///g'
12 cut: the delimiter must be a single character
13 Try `cut --help' for more information.
14 xargs: ls: terminated by signal 13
15 root@fireball / #
16
17 Dale
18
19 :-) :-)

Replies

Subject Author
Re: [gentoo-user] Anyone can afford information about build kernel? Michael Mol <mikemol@×××××.com>