From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta04-svc.ntlworld.com ([62.253.162.44]) by canuck.infradead.org with esmtp (Exim 4.42 #1 (Red Hat Linux)) id 1CMSgg-0000No-8q for linux-mtd@lists.infradead.org; Tue, 26 Oct 2004 10:52:40 -0400 From: Ian Campbell To: Raghav K In-Reply-To: References: Content-Type: text/plain Message-Id: <1098802353.22403.143.camel@icampbell-debian> Mime-Version: 1.0 Date: Tue, 26 Oct 2004 15:52:33 +0100 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org Subject: Re: Protecting Sectoring List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, On Tue, 2004-10-26 at 15:47, Raghav K wrote: > Is there any mechanism by which one could protect and unprotect > certain sectors of flash through an application. There are some ioctls you can issue on the /dev/mtdX devices. There are examples in mtd cvs in the util subdirectory (lock.c and unlock.c) Ian. -- Ian Campbell Current Noise: Vintersorg - Blindsight Complexity Wedding rings are the world's smallest handcuffs.