Re: Tagged files in /proc (Was: Re: (Fwd) Re: /proc/apm and

Ulrich Windl (Ulrich.Windl@rz.uni-regensburg.de)
Wed, 21 Feb 1996 09:10:49 +0100


On 20 Feb 96 at 16:16, Alan Cox wrote:

> > > I think the only good format for things that might be extended or
> > > modified over time is a "tagged" format. The BOOTP extension format
> > > is tagged, but binary. They have length bytes, so they don't need
> > > separator bytes.
>
> I'll throw another requirement in here. For many networking applications I
> need to go to a fixed size record scheme for speed.

Then you would just set the length to the maximum size you need, fill
in your data, and pad the rest.
(In BOOTP they said 0x00 is a tag without length byte, and it has an
implicit length of 0. Therefore you can fill any gaps with 0x00.)

>
> ALan
>
>
>
------------
Ulrich Windl Klinikum der Universitaet Regensburg
Rechenzentrum DV-med Franz-Josef-Strauss-Allee 11
Tel: +49 941 944-5879 D-93053 Regensburg
FAX: +49 941 944-5882
Just imaging my mail address were <Ulrich.Windl@rz.uni.r.de>...