From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NBTf5-0005d7-VO for mharc-grub-devel@gnu.org; Fri, 20 Nov 2009 08:36:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBTf3-0005bP-B0 for grub-devel@gnu.org; Fri, 20 Nov 2009 08:36:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBTey-0005Xq-C6 for grub-devel@gnu.org; Fri, 20 Nov 2009 08:36:28 -0500 Received: from [199.232.76.173] (port=56827 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBTey-0005Xj-4v for grub-devel@gnu.org; Fri, 20 Nov 2009 08:36:24 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8]:44744 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBTex-0006OZ-Il for grub-devel@gnu.org; Fri, 20 Nov 2009 08:36:23 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NBTev-0005YH-9N for grub-devel@gnu.org; Fri, 20 Nov 2009 14:36:21 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NBTeu-0001Qj-Ox for grub-devel@gnu.org; Fri, 20 Nov 2009 14:36:20 +0100 Date: Fri, 20 Nov 2009 14:36:20 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20091120133620.GA5413@thorin> References: <20091119222257.GA1189@pina.cat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091119222257.GA1189@pina.cat> 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.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: grub-mkrescue and hard links X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2009 13:36:29 -0000 On Thu, Nov 19, 2009 at 10:22:57PM +0000, Carles Pina i Estany wrote: > > Hello, > > grub-mkrescue is trying to execute cp -dpRl (l for link). If the origin > and destination directories are in different file systems this fails. One of the purposes of grub-mkrescue is to generate images that are bootable using GRUB. These images might be complete CDs or DVDs, making a complete copy very undesireable. I think I'd rather remove the copiing stage altogether and operate on the original directory (this is not so strange, e.g. -boot-info-table in mkisofs also modifies original data and is widely used). -- 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."