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 1SU3Sr-0002nw-I5 for garchives@archives.gentoo.org; Mon, 14 May 2012 22:10:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E794E09C1; Mon, 14 May 2012 22:09:43 +0000 (UTC) Received: from eagle.jhcloos.com (eagle.jhcloos.com [207.210.242.212]) by pigeon.gentoo.org (Postfix) with ESMTP id EE561E0996 for ; Mon, 14 May 2012 22:09:04 +0000 (UTC) Received: by eagle.jhcloos.com (Postfix, from userid 10) id 6592F40279; Mon, 14 May 2012 22:08:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1337033344; bh=i/GUCrDUTwwTslO8/0vzG4h8bzuLk5BeicfT6qEmZQE=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=PV6Tu8+E0aNFs8/lbYDPzYLgobjD1JiDoyPEmdmlKsjk6TRn26B71V2DLQymgqLBC mdpyt4NMzCrJT5SREB9EseIgrD5RTeuR3fB9iQ3PDw492WS5qMQMxnM15Y9PAEtd0C N4CGbTUJRwLm4EhfI4SVDuFJOOEE3EGlZD4NtBuQ= Received: by carbon.jhcloos.org (Postfix, from userid 500) id 4B7F936004C; Mon, 14 May 2012 22:06:38 +0000 (UTC) From: James Cloos To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Stability of /sys api In-Reply-To: <20120514175904.GA6939@waltdnes.org> (Walter Dnes's message of "Mon, 14 May 2012 13:59:04 -0400") References: <20120514075353.GB5819@waltdnes.org> <20120514175904.GA6939@waltdnes.org> User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu QmCC Copyright: Copyright 2012 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Date: Mon, 14 May 2012 18:06:38 -0400 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain X-Hashcash: 1:30:120514:gentoo-dev@lists.gentoo.org::rwgl+55ilvguXqWl:000000000000000000000000000000000GWN1/ X-Archives-Salt: 9aa04265-7daa-4ffe-b24c-b05cd160972a X-Archives-Hash: 875c1844eb8481b408d208d7f5e9a9f2 >> My USB drive reports 0. WD> You're right. Same for me. Thanks for pointing it out. The removable flag specifies whether the drive has removable media; before flash drives only things like floppy, optical, zip, etc drives had removable==1. It also would be accurate for flash card readers. If thumb drives specify it, then they lie. The flag is read from the drive's metadata. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6