From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EcqpU-0000Vt-QJ for mharc-grub-devel@gnu.org; Thu, 17 Nov 2005 15:58:00 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EcqpT-0000Sy-3J for grub-devel@gnu.org; Thu, 17 Nov 2005 15:57:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EcqpR-0000Ri-Fi for grub-devel@gnu.org; Thu, 17 Nov 2005 15:57:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EcqpR-0000RR-B9 for grub-devel@gnu.org; Thu, 17 Nov 2005 15:57:57 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EcqpR-0007Dy-IW for grub-devel@gnu.org; Thu, 17 Nov 2005 15:57:57 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 7B31F83C9 for ; Thu, 17 Nov 2005 21:57:56 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 26847-03 for ; Thu, 17 Nov 2005 21:57:53 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id C1A808CC5 for ; Thu, 17 Nov 2005 21:57:53 +0100 (CET) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 808C8C045 for ; Thu, 17 Nov 2005 21:57:53 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <1132258795.437ce5ebc840c@webmail6.click21.com.br> From: Marco Gerards Date: Thu, 17 Nov 2005 21:57:55 +0100 In-Reply-To: <1132258795.437ce5ebc840c@webmail6.click21.com.br> (Alexandre Borges's message of "Thu, 17 Nov 2005 18:19:55 -0200") Message-ID: <878xvnxa98.fsf@student.han.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: GRUB && DEFRAG (HELP) IT IS NOT SPAM 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: Thu, 17 Nov 2005 20:57:59 -0000 Alexandre Borges writes: Hi Alexandre, > My name's Alexandre Borges from Rio de Janeiro (Brazil). > I'm working in a defrag for linux/ext2. > Could you say me a easy way to identify which files I must to preserve when > defragging? GRUB accesses the filesystem and does not use some block list. GRUB itself is stored in the MBR and some sectors following the MBR. This is enough to load the rest of GRUB from the filesystem. So in case GRUB is used defragmenting doesn't hurt. I wonder why you want to defragment an ext2. In case you make sure you don't fill up the entire disk, the filesystem won't be that badly fragmented. Most filesystems, like ext2, have special measures to prevent severe external fragmentation. -- Marco