Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: reviving /etc/disktab?



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:
> > 
> >         Hi,
> > 
> > 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.
> > 
> > This has to be provided in a disktab(5) file.
> 
> 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. 

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
-- 
seal your e-mail: http://www.gnupg.org/

Attachment: pgp1C6cKf_NjB.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index