RE: JFFS2 as root FS

Joakim Tjernlund
2001-04-23T09:30:19Z

Hi again

I noted that your man page(nice work) states that JFFS2 and mkfs.jffs2 do
not
support hard links, but the MTD homepage states otherwise.
Is it just mkfs.jffs2 that don't support hardlinks?

Jocke

-----Original Message-----
From: David Schleef [mailto:ds@stm.lbl.gov]On Behalf Of David Schleef
Sent: Monday, April 23, 2001 3:52
To: Joakim Tjernlund
Cc: David Woodhouse; mtd@infradead.org
Subject: Re: JFFS2 as root FS

On Sat, Apr 21, 2001 at 10:22:08PM +0200, Joakim Tjernlund wrote:
> > Joakim.Tjernlund@lumentis.se said:
> > > In the mean time I would appriciate any pointers to fix the endian
> > > problems in mkfs.jffs2 and how to disable compression in JFFS2(can
> > > that be done with mkfs.jffs2?).
> >
> > David Schleef gave me patches to do byteswapping the other day. I
> requested
> > some cleanups but his code was perfectly usable as it was.
>
> Sure would like to lay my hands on that code ...

I just checked it in, along with a man page describing the various
options as I understand them. I also wrote a little shell script
that creates a test filesystem and compares it to a reference
filesystem. The reference filesystems were created on i386 and
powerpc hosts before I made the endianness changes. The limit
of my testing is creating a BE JFFS2 filesystem on an i386 and
comparing it to the reference filesystem -- they were identical,
so I called the operation a success. I'll check in the test
script in the next couple days.

dave...