From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KbY4s-0005ma-T0 for mharc-grub-devel@gnu.org; Fri, 05 Sep 2008 05:58:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbY4q-0005m9-Mk for grub-devel@gnu.org; Fri, 05 Sep 2008 05:58:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbY4o-0005lv-Cr for grub-devel@gnu.org; Fri, 05 Sep 2008 05:58:03 -0400 Received: from [199.232.76.173] (port=41055 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbY4n-0005ln-9m for grub-devel@gnu.org; Fri, 05 Sep 2008 05:58:01 -0400 Received: from aybabtu.com ([69.60.117.155]:60250) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbY4n-0001at-9S for grub-devel@gnu.org; Fri, 05 Sep 2008 05:58:01 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KbXuF-0001xL-Fi for grub-devel@gnu.org; Fri, 05 Sep 2008 11:47:08 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KbY34-0001OZ-8b for grub-devel@gnu.org; Fri, 05 Sep 2008 11:56:14 +0200 Date: Fri, 5 Sep 2008 11:56:14 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080905095614.GA5220@thorin> References: <48BE5C14.3000105@gmail.com> <20080903103139.GB29762@thorin> <48BE824F.2040007@gmail.com> <20080904192617.GC9133@thorin> <48C052B8.1000007@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C052B8.1000007@gmail.com> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [RFC]swapfso and "ioctl" function for filesystems X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2008 09:58:05 -0000 On Thu, Sep 04, 2008 at 11:27:20PM +0200, phcoder wrote: > > > > Could this be made more transparent? For example, with a variable. > > > Here perhaps it could be. But in other usage cases like putting the dos > boot files into the right place or doing swapfso it couldn't. We intentionally don't support filesystem writing. This was discussed before, I think. > > Also, I'm worried that this occupies core image size for non-critical > > functionality. > > > If filesystem module doesn't use this feature it just adds a zero > pointer to grub_fs structure. Yes, but what if it does? > may be implemented in an extra module > (like ntfscomp) or there could be 2 modules for the same filesystem: > basic and advanced one. 2 modules for the same filesystem can lead to trouble; I don't think GRUB can handle this situation properly (for example, if you need ext2.mod to access $prefix, how to you replace it with the new module, which needs to be loaded precisely from $prefix?). An extra module would be saner, IMO. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."