From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dell-paw-3.cambridge.redhat.com ([195.224.55.237] helo=passion.cambridge.redhat.com) by pentafluge.infradead.org with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 16qCYq-0001ZG-00 for ; Wed, 27 Mar 2002 12:29:52 +0000 From: David Woodhouse In-Reply-To: References: To: joakim.tjernlund@lumentis.se Cc: linux-mtd@lists.infradead.org Subject: Re: Unable to recover from CRC failiure Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 27 Mar 2002 12:29:51 +0000 Message-ID: <9186.1017232191@redhat.com> Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: joakim.tjernlund@lumentis.se said: > I don't have perl on this system. It's an emmbedded system. Is there > another way? Why can I not just do a rm? rm (even rm -f) insists on doing a stat() on the inode it's trying to unlink, and doesn't bother to do what you asked it to if that stat() fails. A one-line C program which just does the unlink() should work. -- dwmw2