Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2008 16:50:00 -0600
From:      Chad Perrin <perrin@apotheon.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   listing attached devices
Message-ID:  <20080410225000.GA58450@demeter.hydra>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080410225000.GA58450>