From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LBruX-0000ey-6a for mharc-grub-devel@gnu.org; Sun, 14 Dec 2008 09:25:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBruV-0000d3-53 for grub-devel@gnu.org; Sun, 14 Dec 2008 09:25:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBruT-0000bv-AF for grub-devel@gnu.org; Sun, 14 Dec 2008 09:25:30 -0500 Received: from [199.232.76.173] (port=41553 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBruT-0000bs-4j for grub-devel@gnu.org; Sun, 14 Dec 2008 09:25:29 -0500 Received: from mail-ew0-f13.google.com ([209.85.219.13]:64695) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LBruS-0002gH-OP for grub-devel@gnu.org; Sun, 14 Dec 2008 09:25:28 -0500 Received: by ewy6 with SMTP id 6so2678938ewy.18 for ; Sun, 14 Dec 2008 06:25:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=N7eNP0v5x8ldFUgGHlI4WSioyu05VzsEQZmX1OmGm8Y=; b=iyajSZqoHxi5PktB7NPtpRecUGWHmJfpx28BVB5gAk6teXxfgqIf13LF4Jg8crGziG MALzChLC/+dttLPfm/HE+8eapw3pw9YqoNv31udaPFRzmH16xfQsFlFxcFgd/AldHAbn FyRlsZeTsGx5ZspfC2LV8b4ctttClUCLFyTL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=i33jJuwlhAIM0un5PoTPM4MVaNl50kp+O6OfMYUAeWs2m6dT+7vOxY0qGD+/Erzxtk k0fs5DTwP8c38O39r0eQcGV8wiz3JxO45GEWKeGsz5oVKns793LNmK7wow269kAEN3WB Ua5aCY2LLznFmdkf4yvEMyk3evSITcuqSr8Ro= Received: by 10.210.50.5 with SMTP id x5mr6601397ebx.3.1229264727457; Sun, 14 Dec 2008 06:25:27 -0800 (PST) Received: from ?192.168.1.110? (213.37.137.93.dyn.user.ono.com [213.37.137.93]) by mx.google.com with ESMTPS id 20sm419970eyc.3.2008.12.14.06.25.25 (version=SSLv3 cipher=RC4-MD5); Sun, 14 Dec 2008 06:25:26 -0800 (PST) From: Javier =?ISO-8859-1?Q?Mart=EDn?= To: The development of GRUB 2 In-Reply-To: <20081214011222.GD25952@thorin> References: <349559.99333.qm@web42107.mail.mud.yahoo.com> <20081214011222.GD25952@thorin> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-oQBDCtW7LvR2eLoGBl1q" Date: Sun, 14 Dec 2008 15:26:06 +0100 Message-Id: <1229264766.2955.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: stat for FreeBSD 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, 14 Dec 2008 14:25:31 -0000 --=-oQBDCtW7LvR2eLoGBl1q Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable El dom, 14-12-2008 a las 02:12 +0100, Robert Millan escribi=C3=B3: > On Tue, Dec 09, 2008 at 03:26:28PM -0800, Andrey Shuvikov wrote: > > Hello, > >=20 > > I tried to compile Grub2 under FreeBSD, it compiles but doesn't work (g= rub-setup). The problem seems to be in the stat() call, which is used to de= termine disk size. The call returns 0 for st_size, and grub-setup complains= for "Read out of range". Is it a known issue? Is there a way to use Grub2 = under FreeBSD? >=20 > Do you know how to obtain the disk size on FreeBSD ? >=20 IF parted works on FreeBSD, we could look at what it does, since it's a GNU project, copyrights assigned to the FSF and all that (isn't it?) --=-oQBDCtW7LvR2eLoGBl1q Content-Type: application/pgp-signature; name=signature.asc Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQIVAwUASUUXfqSl+Fbdeo72AQIIcQ//WV0HY2yF0q6BafV9/NaEHegNFxwebUT8 sRmlkBegBgoJ5i/QjTjLpRdgXDW7R/4e2mnX/JFV+wLev6ZZZ1ia5pTM5kM4QbW2 gjZw19cxKw/S868U9z494Ea47oNFxejMYZFAFIWnKVpZUEFZF3z/UFE1aBznYcNy XYEi9S86pHMbxvBDwkbq90VhjZGHhpliWd6JVYrEhMI3gDFbeZWl119CDjIJJgbW QLGkhewImbgbey4kXS/559Vu6rj0cDAHux2HqP/hTX3P8ija7QhVX96o1u3RVAED JIGwVRL62/niaD1NYXPu9tq6viUgzEubRS4FMHH8r5RNLXZXLM4N5BJLHPZ6BXN6 0nIA7YfRyDw6cipMTlt9VBW1HsbePo7nIbbO9RkyUXffIPhg304dxxNxNKiGsdO8 u/H2RwlNNt4disOm4clNWCZM8eb2qXxKNIbN5UtAw8yAZkOGCfKkwB1BpRpLZxqq KcW0hKhHWAvSfjDYa11I8SgUfiPGWgyelOPp4XsI/FsBnD/ywAcdkm60ZJv5XlAz gImCTpYJoioobMVQzXDMmBRyp3men5QjOKslPvbyCc9y+U1pGuTddSkMhpXiylYy lqF7n6+T9b2pNyfTSRG6dSoQayB+J9Cd5upTnhxY5XaBnv8K6tN/lPwtF/1YdkQQ r1jvpYXd7VY= =ORlK -----END PGP SIGNATURE----- --=-oQBDCtW7LvR2eLoGBl1q--