Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Rainer Weikusat Newsgroups: comp.os.linux.development.apps Subject: Re: USB device list in Linux Date: Mon, 25 Apr 2011 12:15:29 +0100 Lines: 11 Message-ID: <87sjt6a8fi.fsf@sapphire.mobileactivedefense.com> References: <5f0c7a21-45a5-4b60-8c63-90424a206672@32g2000vbe.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: individual.net /sEdBRn7bgUpN1dP+8bZnwqUJRkoeIGmKkthUkEt3BXV2UXk0= Cancel-Lock: sha1:BuwgnzHlsc8/6a7rTDhfnJ/XXfw= sha1:Wvsi5jg7rRTynaZMS2wC85hn/qw= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Xref: x330-a1.tempe.blueboxinc.net comp.os.linux.development.apps:98 fasked writes: > Hi! How can I get a list of USB Mass Storage devices in Linux using > DeviceKit or udev or other way in C language? I assume that at least someone will object to this posting because it does not suggest that you download 15 * 10^6 lines of C code located somewhere around freedesktop.org but you could have a look at this: http://www.aoc.nrao.edu/~tjuerges/ALMA/Kernel/2.6.29.4/usb/ch07.html (this is the 'best' online reference I found easily).