From owner-freebsd-arch Tue Mar 12 14:48:14 2002 Delivered-To: freebsd-arch@freebsd.org Received: from nothing-going-on.demon.co.uk (pc-62-31-42-140-hy.blueyonder.co.uk [62.31.42.140]) by hub.freebsd.org (Postfix) with ESMTP id E5FCA37B404; Tue, 12 Mar 2002 14:48:04 -0800 (PST) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.3/8.11.3) id g2CMlAe79893; Tue, 12 Mar 2002 22:47:11 GMT (envelope-from nik) Date: Tue, 12 Mar 2002 22:47:07 +0000 From: Nik Clayton To: Dag-Erling Smorgrav Cc: arch@freebsd.org, peter@freebsd.org, jake@freebsd.org Subject: Re: dumpsys() rewrite Message-ID: <20020312224707.I56358@canyon.nothing-going-on.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="C7PTD44AewjTsiSV" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from des@ofug.org on Tue, Mar 12, 2002 at 09:41:14PM +0100 Organization: FreeBSD Project Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --C7PTD44AewjTsiSV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 12, 2002 at 09:41:14PM +0100, Dag-Erling Smorgrav wrote: > c) the on-disk format will be as follows: >=20 > - first, a chunk of metadata beginning with "DUMPINFO\n" and > listing a number of parameters as key-value pairs, like this: >=20 > DUMPINFO > dumpinfo_size=3D0x1000 > page_size=3D0x1000 > dev_bsize=3D0x200 > dumplo=3D0x6c0020 > kernbase=3D0xc0000000 phk already suggested XML, so I'll content myself with: 1. Is it worth putting a version field in there somewhere. =20 2. Is that the order of the fields above, or can they appear in any order? 3. To avoid ambiguity, it might be worth having an explicit "end of metadata" marker before the dump data. N=20 --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --C7PTD44AewjTsiSV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyOhWoACgkQk6gHZCw343VXcgCfQZIxU3lxr4ZZtlVPSOm5yltr PXcAnik3QsSoPAQHFkC4S6K/CsJRjkRz =08kE -----END PGP SIGNATURE----- --C7PTD44AewjTsiSV-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message