From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1J63Re-0006c2-Fh for mharc-grub-devel@gnu.org; Sat, 22 Dec 2007 07:27:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J63Rb-0006ba-U9 for grub-devel@gnu.org; Sat, 22 Dec 2007 07:27:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J63Ra-0006aw-03 for grub-devel@gnu.org; Sat, 22 Dec 2007 07:27:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J63RZ-0006at-Sc for grub-devel@gnu.org; Sat, 22 Dec 2007 07:27:05 -0500 Received: from ns39764.ovh.net ([91.121.25.85] helo=nexedi.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J63RZ-0002up-VG for grub-devel@gnu.org; Sat, 22 Dec 2007 07:27:06 -0500 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id 73C913EB23 for ; Sat, 22 Dec 2007 13:30:59 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sat, 22 Dec 2007 13:27:03 +0100 User-Agent: KMail/1.9.4 References: <20071216153046.GA11912@thorin> <20071222112425.GC4788@thorin> In-Reply-To: <20071222112425.GC4788@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712221327.03951.okuji@enbug.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: embedding filesystems in core image (Re: moving ata initialisation to a command) 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: Sat, 22 Dec 2007 12:27:08 -0000 On Saturday 22 December 2007 12:24, Robert Millan wrote: > On Sat, Dec 22, 2007 at 12:28:26PM +0800, Bean wrote: > > Yes, i think this concept is great, and i just think of an improvement > > for the module. > > I don't like the idea of making memdisk filesystem-dependant. But adding > a more size-oriented filesystem to GRUB would be nice of course. > > > we can add support for a raw file system which store > > files compactly, so that very little space is wasted on file system > > structure, for example, this is a possible implementation: > > > > OFFSET_TO_NEXT_ITEM > > FILE1_NAME_LEN > > FILE1_NAME > > FILE1_DATA > > OFFSET_TO_NEXT_ITEM > > FILE2_NAME_LEN > > FILE2_NAME > > FILE2_DATA > > How about tar? If we use an existing fs, we get the user tools for free. How about using cpio, just like initrd? IIRC, cpio is easier to modify later, so we have a plenty of room to play with. Okuji