Subject: Re: reviving /etc/disktab?
To: Aymeric Vincent <Aymeric.Vincent@labri.fr>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-userlevel
Date: 01/07/2006 12:24:35
--hYooF8G/hrfVAmum
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 06, 2006 at 11:51:44PM +0000, David Laight wrote:
> On Fri, Jan 06, 2006 at 05:44:55PM +0100, Aymeric Vincent wrote:
> >=20
> >         Hi,
> >=20
> > in order to be able to mount (r/o) an Amiga floppy disk through a
> > vnconfig + mount_ados, you need to get the geometry and the
> > bsize,fsize,cpg values right because this information is used to
> > locate the root block of the disk.
> >=20
> > This has to be provided in a disktab(5) file.
>=20
> Couldn't it be specified as a mount option instead?
> Or even add code to search for the root block? (if not specified)

The root block is roughly in the middle of the image; you need to know
the geometry to compute it.=20

If you search for it, you would pick up the root blocks of ADOSFS images
stored on the ADOSFS image you're trying to mount. See the old reiserfs
fsck problem.

Regards,
	Ignatios
--=20
seal your e-mail: http://www.gnupg.org/

--hYooF8G/hrfVAmum
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFDv6TzN4tiz3B8hB0RAklzAKDcVTIiyE9LpfPPkrjI8YMqfRCt8wCgrTcY
4LAIUe3bYu5d1WSNuIQoyxM=
=8NWo
-----END PGP SIGNATURE-----

--hYooF8G/hrfVAmum--