Date: Tue, 4 May 1999 18:49:51 +0930 From: Greg Lehey <grog@lemis.com> To: Soren Schmidt <sos@freebsd.dk> Cc: mike@smith.net.au, hibma@skylink.it, chat@FreeBSD.ORG Subject: Re: Hysterical names (was: names of globale variables) Message-ID: <19990504184951.C40359@freebie.lemis.com> In-Reply-To: <199905040841.KAA21824@freebsd.dk>; from Soren Schmidt on Tue, May 04, 1999 at 10:41:03AM %2B0200 References: <19990504154225.S10134@freebie.lemis.com> <199905040841.KAA21824@freebsd.dk>
index | next in thread | previous in thread | raw e-mail
On Tuesday, 4 May 1999 at 10:41:03 +0200, Soren Schmidt wrote:
> It seems Greg Lehey wrote:
>>
>> It goes back further than BSD. Here's the definition from a pre-BSD
>> /usr/src/buf.h, probably some of the oldest C code in existence:
>>
>> -rw-r--r-- 1 root wheel 592 Jan 22 1973 buf.h
>>
>> struct buf {
>> int b_flags;
>> struct buf *b_forw;
>> struct buf *b_back;
>> struct buf *av_forw;
>> struct buf *av_back;
>> int b_dev;
>> int b_wcount;
>> char *b_addr;
>> char *b_blkno;
>> } buf[NBUF];
>
> I LOVE the simplicity of that though, our one is bloated beyond
> recognition...
Ah, the good old days. Note, of course, that here the struct bufs are
statically allocated. But it did have its advantages:
$ BLOCKSIZE=1024 du -s /S/pdp11/Third-Edition/ /usr/src/sys/dev/vinum/
220 /S/pdp11/Third-Edition/
375 /usr/src/sys/dev/vinum/
Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990504184951.C40359>
