From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 146CB1381F3 for ; Thu, 29 Nov 2012 17:59:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFFE7E00AB; Thu, 29 Nov 2012 17:59:24 +0000 (UTC) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C237021C089 for ; Thu, 29 Nov 2012 17:57:47 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id fy27so10247831vcb.40 for ; Thu, 29 Nov 2012 09:57:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1bUG2JUlKNbCtG6YHSl1WMPbZ3f47ctc3sXotCrhkK4=; b=H8FWGUsXiCRrDlWbnqTdCaj5wzfZ/Ng9CeOGwc2TX+Gqh0vUSWnx2YE0nqgRWdphVH DDpCRznktKnoTriCQsgoTyHb2/RINd4ClOgpozR7dZWDmzdZ7ExNKgvlJs468ya7jPEn 9EDmeQpNwsF019JwqqQMzLeipjw7RsWFCGCXlaCeUbRAzIn326Yh0gskuKS1EJHsbd4+ gDaQ3SunJTh3WSYg2JhaDkmdtjp1XJLOtv/GUmXeAXslBRCDmZ8UVPN2H8W/HQUA8v1C 0KKKvb5dmDErE+WtOKxQ/IYr8knCUbupm5Pd5JpKhv6600xdBVEdprWmk8l+WFaoY8rj +G1Q== 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.52.75.105 with SMTP id b9mr28498841vdw.28.1354211866679; Thu, 29 Nov 2012 09:57:46 -0800 (PST) Received: by 10.58.223.170 with HTTP; Thu, 29 Nov 2012 09:57:46 -0800 (PST) Date: Thu, 29 Nov 2012 17:57:46 +0000 Message-ID: Subject: [gentoo-user] serial in /sys From: Jorge Almeida To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: c8a55b9f-246b-4402-94ce-90a7aee301a5 X-Archives-Hash: bb87fb906e4500bece25798dc5b38373 Anyone knows how to dig into /sys to find the serial number of a device (say, a USB pen)? I few days ago I found by trial and error something like $ cat /sys/devices/pci0000:00/0000:00:06.1/usb2/2-4/2-4:1.0/host13/target13:0:0/13:0:0:0/block/sdc/../../../../../serial which gave me E68911000519 Now I can't find nothing of the sort. (Yes, I know the path changes each time the device is plugged in, but even so) Any information that would put some order into this mess would be great. TIA Joreg Almeida