Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756654AbYH0Oey (ORCPT ); Wed, 27 Aug 2008 10:34:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754791AbYH0Oep (ORCPT ); Wed, 27 Aug 2008 10:34:45 -0400 Received: from lazybastard.de ([212.112.238.170]:59758 "EHLO longford.logfs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754783AbYH0Oeo (ORCPT ); Wed, 27 Aug 2008 10:34:44 -0400 Date: Wed, 27 Aug 2008 16:34:16 +0200 From: =?utf-8?B?SsO2cm4=?= Engel To: David Woodhouse Cc: Alan Cox , linux-mtd-bounces@lists.infradead.org, "'Bruce Leonard'" , Bruce_Leonard@selinc.com, linux-kernel@vger.kernel.org, Tim Anderson , linux-mtd@lists.infradead.org, "'Andrew Morton'" Subject: Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices Message-ID: <20080827143416.GA1371@logfs.org> References: <1219817017.18027.149.camel@sauron> <000201c9080d$0bce0d20$6b01a8c0@mvista.com> <20080827093920.1bdb44c2@lxorguk.ukuu.org.uk> <1219827692.7107.170.camel@pmac.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1219827692.7107.170.camel@pmac.infradead.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1216 Lines: 28 On Wed, 27 August 2008 10:01:32 +0100, David Woodhouse wrote: > > True, and we'll definitely need a new MEMERASE64 ioctl. But for the > _informational_ parts, those can happily be done through sysfs. They certainly can, but should they? There may be some reason to prefer sysfs that should be self-evident - except that I'm a bit thick and seem to need it spelled out. Or maybe I've just become disillusioned with the practice of replacing crappy interfaces (ioctl here) with other crappy interfaces (sysfs here) and having to support both for all eternity. sysctl, ioctl, proc, sysfs, debugfs, netlink, ... - individually they all suck in their own peculiar way. But together they create a mess I no longer dare to name. So what was the reason again why mtd needs two userspace interfaces instead of just one? Jörn -- It does not require a majority to prevail, but rather an irate, tireless minority keen to set brush fires in people's minds. -- Samuel Adams -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/