From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NBoK5-000179-FS for mharc-grub-devel@gnu.org; Sat, 21 Nov 2009 06:40:13 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBoK1-00015J-QS for grub-devel@gnu.org; Sat, 21 Nov 2009 06:40:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBoJx-00013C-VC for grub-devel@gnu.org; Sat, 21 Nov 2009 06:40:09 -0500 Received: from [199.232.76.173] (port=52367 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBoJx-000138-IF for grub-devel@gnu.org; Sat, 21 Nov 2009 06:40:05 -0500 Received: from mail-bw0-f215.google.com ([209.85.218.215]:57819) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBoJx-0006L7-0O for grub-devel@gnu.org; Sat, 21 Nov 2009 06:40:05 -0500 Received: by bwz7 with SMTP id 7so4342214bwz.26 for ; Sat, 21 Nov 2009 03:40:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=mzZ2xr2laHEHfB34+6CDrgCj2N6n3tVIAayEQtN8POs=; b=rqyjCw4z1EiZ0ocQBqIxZnP3dwDeNX6yqWkBMikRznLwTWhMc2nHB70qX4xqsggjzA MCfWNfVklGZRXVWn5NMqXNRZHC04GZzKidNhV4aRz+FHpJ16XgJYzZJ1VoCc9VGdHP2a FeESz2yoWF9yxmuHAuhhYX7vD+WlXZTZBauck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=QJbHFrl0J96yOa7MDdCBF2+zvxcOredZaqsRALUcun4JeqaEEzgx8FOyrt4a5kfQUB J4Yk5NU/4rLqQ4YufKM0Zcvj+5ySwsfHHQLR4ObnKL64D0DnXK2ES6++QTrbFr7kOv5n QWkODlZAtNZklfAKZrZIb/McfWXQtae3AZc6Y= Received: by 10.204.153.24 with SMTP id i24mr2328749bkw.114.1258803604062; Sat, 21 Nov 2009 03:40:04 -0800 (PST) Received: from debian.bg45.phnet (157-245.2-85.cust.bluewin.ch [85.2.245.157]) by mx.google.com with ESMTPS id 15sm640404bwz.12.2009.11.21.03.40.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Nov 2009 03:40:02 -0800 (PST) Message-ID: <4B07D189.7000302@gmail.com> Date: Sat, 21 Nov 2009 12:39:53 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <20091119222257.GA1189@pina.cat> <20091120133620.GA5413@thorin> In-Reply-To: <20091120133620.GA5413@thorin> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigD34DDEAB3F695071F6E4386D" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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: Sat, 21 Nov 2009 11:40:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD34DDEAB3F695071F6E4386D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Robert Millan wrote: > On Thu, Nov 19, 2009 at 10:22:57PM +0000, Carles Pina i Estany wrote: > =20 >> Hello, >> >> grub-mkrescue is trying to execute cp -dpRl (l for link). If the origi= n >> and destination directories are in different file systems this fails. >> =20 > > One of the purposes of grub-mkrescue is to generate images that are boo= table > using GRUB. These images might be complete CDs or DVDs, making a compl= ete > copy very undesireable. > =20 Why do you need copying at all? mkisofs supports taking source files from multiple directories: mkdir h1 mkdir h2 echo 4 > h1/hh echo 5 > h1/hx mkisofs -o h.iso h1 h2 isoinfo -l -i h.iso Directory listing of / d--------- 0 0 0 2048 Nov 21 2009 [ 23 02] . d--------- 0 0 0 2048 Nov 21 2009 [ 23 02] .. ---------- 0 0 0 2 Nov 21 2009 [ 24 00] HH.;1 ---------- 0 0 0 2 Nov 21 2009 [ 25 00] HX.;1 So you can just take grub files from temporary directory and overlay from its original place On a side note: when I did: =2E/grub-mkrescue -o grub.iso overlay it added a directory named overlay to iso. E.g: I had a folder overlay/boot instead of /boot on iso > I think I'd rather remove the copiing stage altogether and operate on t= he > original directory (this is not so strange, e.g. -boot-info-table in > mkisofs also modifies original data and is widely used). > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigD34DDEAB3F695071F6E4386D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAksH0ZAACgkQNak7dOguQglj0QD/e8qorfWu8UDAVuxG15IdGnbH wCjAhIrz3FlYIY3NU4wA+gI1XVCt1krraWCn+JXLiNLhD8jW28KVadAQ9kCFez5j =VzPh -----END PGP SIGNATURE----- --------------enigD34DDEAB3F695071F6E4386D--