Port-amiga archive

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

Re: ados fs and vnd



On Sat, 5 Sep 2009 12:12:14 +0200
Michael van Elst <mlelstv%serpens.de@localhost> wrote:

> > But there is nothing in disktab(5) which fits into p_cpg.
> 
> The only API for disktab(5) is getdiskbyname() which returns
> a prototype disk label. It should be trivial to teach it
> more fields.

Hm... this will change a libc function. Do you think I might introduce a
new identifier there, as for example ca..ch to define the p_cpg field?


> There are two fields that are used this way.
> 
>                 union {
>                         uint32_t fsize; /* FFS, ADOS:
>                                             filesystem basic fragment size */
>                         uint32_t cdsession; /* ISO9660: session offset */
>                 } __partition_u2;
> 
>                 union {
>                         uint16_t cpg;   /* UFS: FS cylinders per group */
>                         uint16_t sgs;   /* LFS: FS segment shift */
>                 } __partition_u1;

Yes. fa..fh can already be used for fsize/cdsession. So I will create
ca..ch for cpg/sgs, when nobody objects?


-- 
Frank Wille


Home | Main Index | Thread Index | Old Index