dirent different between BLADE 1.2.8 and Linus 1.3.12 ?

hayter@pa.dec.com
Fri, 28 Jul 95 14:06:11 -0700


I just brought up Linus' 1.3.12 code (with the 1.3.10 patches and
the ones he posted) on my Jensen which had previously been running
the BLADE distribution 1.2.8 kernel and b & d discset utilities.
I am cross compiling from OSF/1 (on the same machine) and making
use of e2write to avoid using lots of floppies :-).

The first thing that I noticed was that ls has stopped working.

Poking through the header files I notice that the BLADE sources have
an essentially null linux/dirent.h with all the action being in asm/dirent.h
whereas in 1.3.12 only linux/dirent.h exists. I suspect that it is
the different sizes of the dirent structures that is causing my problem.

>From what I can see the BLADE idea was to move the dirent definition
into the architecture dependent includes and fill them with a "filldir"
function as required.

It seems to me I have two options: patch the 1.3.12 kernel to be
like BLADE; or junk the binaries that I have installed and find (or
build) ones based on the main-line kernel. Anyone have views on which
is better? (Ie which way is the future going?)

Or maybe I have just missed a patch which sorts this all out?

Mark