From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 22:50:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EF761065673 for ; Thu, 10 Apr 2008 22:50:02 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-146.bluehost.com (outbound-mail-146.bluehost.com [67.222.38.36]) by mx1.freebsd.org (Postfix) with SMTP id F37A38FC18 for ; Thu, 10 Apr 2008 22:50:01 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 10148 invoked by uid 0); 10 Apr 2008 22:49:59 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by outboundproxy5.bluehost.com with SMTP; 10 Apr 2008 22:49:59 -0000 Received: from c-67-165-217-249.hsd1.co.comcast.net ([67.165.217.249] helo=demeter.hydra) by box183.bluehost.com with esmtpa (Exim 4.68) (envelope-from ) id 1Jk5ah-0005cZ-7K for freebsd-questions@freebsd.org; Thu, 10 Apr 2008 16:49:59 -0600 Received: by demeter.hydra (sSMTP sendmail emulation); Thu, 10 Apr 2008 16:50:00 -0600 Date: Thu, 10 Apr 2008 16:50:00 -0600 From: Chad Perrin To: FreeBSD Questions Message-ID: <20080410225000.GA58450@demeter.hydra> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 67.165.217.249 authed with perrin@apotheon.com} Subject: listing attached devices X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 22:50:02 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I feel like I'm missing something obvious. When I plug in a compact flash card reader, I can check /var/log/messages to see what devices it has recently detected. What I'd like to be able to do, however, is just enter a simple command at the shell prompt and get a list of what devices are connected -- preferably with some control over which devices are listed so I can narrow it down to storage devices that aren't mounted (even if only via grep). --=20 CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Phillip J. Haack: "Productivity is not about speed. It's about velocity. You can be fast, but if you're going in the wrong direction, you're not helping anyone." --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkf+mZgACgkQ9mn/Pj01uKW4tACdHxFuBIvRzdvFnqCYmX+I9qqY /3sAn0fyFDUFKhAY0mONnAfEpUeX+Vz1 =i2Hr -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--