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 11:13:58AM +0200, Frank Wille 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.
> UFS: cylinders per group
> LFS: segment shift
> ADOS: reserved blocks
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;
Greetings,
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index