Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KN6fS-0004RD-DH for mharc-grub-devel@gnu.org; Sun, 27 Jul 2008 09:52:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KN6fQ-0004Qm-Iq for grub-devel@gnu.org; Sun, 27 Jul 2008 09:52:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KN6fP-0004QS-6g for grub-devel@gnu.org; Sun, 27 Jul 2008 09:52:08 -0400 Received: from [199.232.76.173] (port=54344 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KN6fO-0004QP-Vz for grub-devel@gnu.org; Sun, 27 Jul 2008 09:52:07 -0400 Received: from ti-out-0910.google.com ([209.85.142.188]:27877) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KN6fM-0006at-IE for grub-devel@gnu.org; Sun, 27 Jul 2008 09:52:06 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1845675tia.10 for ; Sun, 27 Jul 2008 06:51:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zc9oiNj+82l/47t7QvWgJ4bcb8URHFm4hcXbN3iFxQw=; b=g54+Yi+MsYeh+3iVTgCVz2oehJxZe9pWaI3pPmZD9JwLYdys7sy4ByLCawE79R52Rl jdjaOlUZhEnTVL5olpaFfLk8y05T/rL5NImXdntMUGY1+OZbqk5D4zc6g7dRjqpC/Yqv nstUEiNrs2tbGaNN1cKqLB57bMk3xDI4DwqB8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OLqpc1lzQfvWMn9CxbWLBmS1KjO6h2G87C2Rub+qKsYZ0fi9G8UygNto+UyAZ7PcSH 3TLODIH5Xv1XhgEFq3OL1KiiyJcpa6hoXPIM0j1AdPR4uo/jrD6lcVgKM3LZ1TA8lUZC KsKkA9Gnntv94cMn3Z9DRyAXUK66pyPIxjEWc= Received: by 10.110.7.18 with SMTP id 18mr4429239tig.39.1217166719294; Sun, 27 Jul 2008 06:51:59 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Sun, 27 Jul 2008 06:51:59 -0700 (PDT) Message-ID: Date: Sun, 27 Jul 2008 21:51:59 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <1217143987.16601.47.camel@ct> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080725205339.GH18149@thorin> <1217134545.15984.13.camel@ct> <1217142302.16601.40.camel@ct> <1217143244.16601.45.camel@ct> <1217143987.16601.47.camel@ct> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] Misc patches for grub2 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: Sun, 27 Jul 2008 13:52:08 -0000 On Sun, Jul 27, 2008 at 3:33 PM, Pavel Roskin wrote: > On Sun, 2008-07-27 at 15:30 +0800, Bean wrote: >> On Sun, Jul 27, 2008 at 3:20 PM, Pavel Roskin wrote: >> >> >> BTW, any comment about the other changes ? >> >> > >> >> > Why do we need "crc"? If there are chances that it will be used for >> >> > security, we should be using SHA-1. >> >> >> >> crc is useful in many place. For example, png, jffs2, etc. >> > >> > But why make it a command? >> >> There are two parts, one is lib/crc.c, which contains only the crc >> function, the other is command/crc.c, which is a command to calculate >> the crc of selected file. Although it's not necessary to have a >> command, but it can 1) serve as an example of how to use the crc >> function, 2) as a cheap way to verify if a file is read correctly by >> the fs driver. > > OK, then it's probably a good idea. Committed (remove the bootcamp part). -- Bean