On Fri, Jan 06, 2006 at 05:44:55PM +0100, Aymeric Vincent wrote: > 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. > > Would there be interest in reviving /etc/disktab? I think it's nice to > have it common to all platforms, but it's a pity that it's empty. It's not empty - it contains entry for 3.5" floppy :) > Would anyone object if I added the entries I want for the Amiga floppy > disks to it? This would mean that other people are likely to follow > this. > > With the name changed to something sensible (amigaddfloppy for > example), here is an entry that would be nice to have. > > amflop:Amiga Double Density Floppy:\ > :ty=floppy:se#512:nt#2:rm#300:ns#11:nc#80:\ > :pa#1760:oa#0:ba#512:fa#512:ta=ADOS:\ > :pb#1760:ob#0:\ > :pc#1760:oc#0: Generally, adding the entry to /usr/share/examples/disktab/disktab would be much preferred. mount_ados(8) could contain a reference to that file for people who want to mount the floppies. Optionally, we might change getdiskbyname(3) too look into the example disktab when an entry is not found in /etc/disktab. This would actually be the best option IMHO. Jaromir -- Jaromir Dolecek <jdolecek%NetBSD.org@localhost> http://www.NetBSD.cz/ -=- We can walk our road together if our goals are all the same; -=- -=- We can run alone and free if we pursue a different aim. -=-
Attachment:
pgplYmHvRb7l7.pgp
Description: PGP signature