From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PbBJD-00009F-5i for mharc-grub-devel@gnu.org; Fri, 07 Jan 2011 07:20:43 -0500 Received: from [140.186.70.92] (port=58580 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbBJA-00006d-KY for grub-devel@gnu.org; Fri, 07 Jan 2011 07:20:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PbBJ9-0005X0-1z for grub-devel@gnu.org; Fri, 07 Jan 2011 07:20:40 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:48750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PbBJ8-0005Wu-SN for grub-devel@gnu.org; Fri, 07 Jan 2011 07:20:39 -0500 Received: by wwb17 with SMTP id 17so17890700wwb.30 for ; Fri, 07 Jan 2011 04:20:38 -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=Y55NxuCbcXbdwy2iPPViO4cfaruPQFUkX5zEIC8srcE=; b=iHnF8c47F4y5BCNLvKzZWyNq/ur/8MtNjjC+Fw/cL+oVJHqrJoKDNB+UCKcjAXaHwr kj2uDq6v8GvHH+a76g2jX2CoIH2O5MJwq43irx9jhoBFLpLiBFFUgiV6oLR6q4k3LH4n 4gFqeAEn9/CTbTTz3/oV+8MNlhvW88WHbnwz0= 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=l9yMlVmsUKPbJVSD3Jrl78FQYn0YnIZKIua+LfFL85GwCuZ9dQWx0X0DLZbesH6fOB XMHyenmQEoqzHRidd0iMULOl4fgxbh92PE+VwnpA/WrDpxzBsE2Kpw4hVXTTjo4Vu8tE o6KLklXtHAgSXuC1bVXhH1/1dkoJz0fYnu444= Received: by 10.216.166.68 with SMTP id f46mr1466197wel.26.1294402836159; Fri, 07 Jan 2011 04:20:36 -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 j58sm12369966wes.21.2011.01.07.04.20.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 Jan 2011 04:20:34 -0800 (PST) Message-ID: <4D270506.9060003@gmail.com> Date: Fri, 07 Jan 2011 13:20:22 +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> <4D26F7C6.9080904@gmail.com> In-Reply-To: <4D26F7C6.9080904@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig15B1625E2F05C65268F27DD1" 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 12:20:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig15B1625E2F05C65268F27DD1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/07/2011 12:23 PM, Gr=C3=A9goire Sutre wrote: > On 01/07/2011 11:30, Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: >> On 01/07/2011 10:35 AM, Gr=C3=A9goire Sutre wrote: >>> Isn't the first sector reserved for the boot block in UFS? >>> >> Depends on OS: >> >> /* The blocks on which the superblock can be found. */ >> static int sblocklist[] =3D { 128, 16, 0, 512, -1 }; > > Do you know of any OS that would put the superblock in sector 0? > I googled a bit, but I couldn't find examples where UFS would > not start with a boot sector (afaics, it usually starts with a > bootblock area of at least 8KiB -- with OS-specific data in it, > e.g. a disklabel). > According to *BSD http://fxr.watson.org/fxr/source/ufs/ffs/fs.h: */"* Depending on the architecture and the media, the superblock may/* */* reside in any one of four places. For tiny media where every block /*= */* counts, it is placed at the very front of the partition. Historically= ,/* */* UFS1 placed it 8K from the front to leave room for the disk label and= /* */* a small bootstrap. For UFS2 it got moved to 64K from the front to lea= ve/* */* room for the disk label and a bigger bootstrap, and for really piggy/= * */* systems we check at 256K from the front if the first three fail/*" > Gr=C3=A9goire > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig15B1625E2F05C65268F27DD1 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/ iF4EAREKAAYFAk0nBQYACgkQNak7dOguQgl6hgEAnb367YVPEN5WNlAHo21ekSXT iF5DlX56ybtXLL+ncKgA/2F8IPoLR9AJu+n7yv54685m9UH0m4mjNOhUSywl4CEN =22QI -----END PGP SIGNATURE----- --------------enig15B1625E2F05C65268F27DD1--