From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from a.ns.miles-group.at ([95.130.255.143] helo=radon.swed.at) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xao84-0007td-Rt for linux-mtd@lists.infradead.org; Sun, 05 Oct 2014 15:53:50 +0000 Message-ID: <54316971.90502@nod.at> Date: Sun, 05 Oct 2014 17:53:21 +0200 From: Richard Weinberger MIME-Version: 1.0 To: Woody Wu Subject: Re: Block numbers of BEB References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "linux-mtd@lists.infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 05.10.2014 17:49, schrieb Woody Wu: > What I said of checking /proc is wrong. What I indeed checked was /sys/class/ubi as you mentioned. The problem is, under the /sys/class/ubi, there is no information about what blocks are marked as bad, there is only information about the total number of bad blocks. Ah, you don't want the number of bad blocks, you want a map of bad blocks. IIRC UBI does not expose this information. Thanks, //richard