From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RCu6W-0008Ma-Ep for garchives@archives.gentoo.org; Sun, 09 Oct 2011 14:11:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A0BA21C3B5; Sun, 9 Oct 2011 14:11:19 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id CAAD121C1E4 for ; Sun, 9 Oct 2011 14:09:06 +0000 (UTC) Received: by bkbzt12 with SMTP id zt12so9367718bkb.40 for ; Sun, 09 Oct 2011 07:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XdFXJUrm4RPbkErTdvFtbTHwt9JYPxnIM/OmUKdGT38=; b=MXiSOdDsszKiwx4cwZ79UY55oaRrQE689ej5mMLJfN3e7nF7uMbl4tTEhs5qop2kYm 9UBtaBjYlkzgIA0MywLXf7FbG7QGCnPdSctLb0LqZ/SL+gUlLcG9JcYqo5MImJ/jk18v hOLItJHFOrtnacyp2PgiNbDMQl0khJeGz2INQ= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.151.217 with SMTP id d25mr3332575bkw.88.1318169345973; Sun, 09 Oct 2011 07:09:05 -0700 (PDT) Received: by 10.204.177.199 with HTTP; Sun, 9 Oct 2011 07:09:05 -0700 (PDT) In-Reply-To: <4E91A966.8050901@gmail.com> References: <4E91A966.8050901@gmail.com> Date: Sun, 9 Oct 2011 10:09:05 -0400 Message-ID: Subject: Re: [gentoo-user] Anyone can afford information about build kernel? From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: X-Archives-Hash: 27052614b9ddf93054a2fa1640ac0b11 On Sun, Oct 9, 2011 at 10:02 AM, Dale wrote: > Michael Mol wrote: >> >> Came up with something possibly a little handier. This command should tell >> you what driver is associated with every device on the system. find >> /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' ' -f10-|sed -e >> 's/\.\.\///g' Output could probably still be a bit better cleaned up, but it >> should help. > > Hmmmmmm: > > root@fireball / # find /sys/devices -name driver -print0|xargs -0 ls -l|cut > -d' '-f10-|sed -e 's/\.\.\///g' > cut: the delimiter must be a single character > Try `cut --help' for more information. > xargs: ls: terminated by signal 13 > root@fireball / # Your -f got stuck attached to the -d argument. Wordwrap reconstruction fail. :-| Try this for an alternate representation: find /sys/devices -name driver \ -print0|xargs -0 ls -l|cut -d' ' \ -f10-|sed -e 's/\.\.\///g' -- :wq