Port-amiga archive

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

Re: ados fs and vnd



On Sat, Sep 05, 2009 at 09:44:04PM +0200, Frank Wille wrote:
> 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?

That's probably the best solution. disktab(4) and getdiskbyname()
seem to be rather non-portable interfaces and adding identifiers
to disktab for missing members of a disklabel are harmless.

Greetings,
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index