From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PbA0f-0005sj-6o for mharc-grub-devel@gnu.org; Fri, 07 Jan 2011 05:57:29 -0500 Received: from [140.186.70.92] (port=40885 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbA0c-0005sF-R0 for grub-devel@gnu.org; Fri, 07 Jan 2011 05:57:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PbA0b-00068a-CB for grub-devel@gnu.org; Fri, 07 Jan 2011 05:57:26 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:52006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PbA0b-00068L-6P for grub-devel@gnu.org; Fri, 07 Jan 2011 05:57:25 -0500 Received: by wwb17 with SMTP id 17so17825836wwb.30 for ; Fri, 07 Jan 2011 02:57:24 -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=Pdfv9MX+Q+urXM+b9+/tAhlxZPY+sOAEaOwswRqH7XY=; b=xEb+eiiEQ5Tku3EuxbguJOEb2CUeSc0/eqvLkRVQDa8GVqs16scIDBYJGItgpa+VG7 naPCZvnc3+iipkOynnDSApqo7C58K2ifePhb0yauxfHrQ6UVq3Eb1vygHmRop2qSTRW7 wMK/Ytndwlrup2IJ455pbAGX0PjNF61R2Ly7M= 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=CqA4eP2UEZgIaQSv7Cxf+UmaD8mgZwY8mI4XjLOrRfocgGFwmfIXLCyQsmE7we2vcv MESqSELCWSU+G1+T552HjZMVkunGU4QwxKYk+znv88uEIqbJ7FQAACPJGpcrDsXpcVPs oHVLcVGu8oNG/YoE3F7gjLB+YNusR1AJpjKxc= Received: by 10.227.147.129 with SMTP id l1mr15255996wbv.26.1294397842957; Fri, 07 Jan 2011 02:57:22 -0800 (PST) Received: from debian.bg45.phnet (95-19.2-85.cust.bluewin.ch [85.2.19.95]) by mx.google.com with ESMTPS id r38sm12323224weq.23.2011.01.07.02.57.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 Jan 2011 02:57:21 -0800 (PST) Message-ID: <4D26F189.4040206@gmail.com> Date: Fri, 07 Jan 2011 11:57:13 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 MIME-Version: 1.0 To: grub-devel@gnu.org References: <4D26DE69.5080106@gmail.com> <4D26EB2E.5030106@gmail.com> <4D26EF82.10006@gmail.com> In-Reply-To: <4D26EF82.10006@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig27413D8222308982C1BE9D25" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Reserved first sector for UFS 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, 07 Jan 2011 10:57:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig27413D8222308982C1BE9D25 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/07/2011 11:48 AM, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote:= > On 01/07/2011 11:30 AM, Vladimir '=CF=86-coder/phcoder' Serbinenko wrot= e: > =20 >> On 01/07/2011 10:35 AM, Gr=C3=A9goire Sutre wrote: >> =20 >> =20 >>> Isn't the first sector reserved for the boot block in UFS? >>> >>> =20 >>> =20 >> Depends on OS: >> >> /* The blocks on which the superblock can be found. */ >> static int sblocklist[] =3D { 128, 16, 0, 512, -1 }; >> >> >> =20 >> =20 > AFAIU: > if (superblock isn't on sector 0) and (inoblk_offs isn't 0 or inode zer= o > isn't used) then first sector is reserved > =20 Inode 0 shouldn't be used but I see nothing in the on-disk format to enforce that. Moreover some OSes may put their own information outside of standard basic UFS in the sector 0. Writing to sector 0 of UFS needs more investigation because by now there are a lot of UFS variants >>> Gr=C3=A9goire >>> >>> >>> _______________________________________________ >>> Grub-devel mailing list >>> Grub-devel@gnu.org >>> http://lists.gnu.org/mailman/listinfo/grub-devel >>> =20 >>> =20 >>> =20 >> =20 >> =20 > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig27413D8222308982C1BE9D25 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/ iF4EAREKAAYFAk0m8YkACgkQNak7dOguQgloKQD/c+e9dv2dzkItdxG5Jo6NfpdN rpe0oYwAhpYrw9KUtPoA/i5OWu+hhAZFNy18jaxLB50GNgmnoRleKHsKUltHIn2T =ckb5 -----END PGP SIGNATURE----- --------------enig27413D8222308982C1BE9D25--