All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kenneth Johansson <kenneth.johansson@etx.ericsson.se>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Mtd <linux-mtd@lists.infradead.org>
Subject: Re: cvs snapshot
Date: 05 Sep 2002 16:15:40 +0200	[thread overview]
Message-ID: <1031235341.20555.124.camel@spawn> (raw)
In-Reply-To: <13142.1031233231@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]

On Thu, 2002-09-05 at 15:40, David Woodhouse wrote:
> 
> kenneth.johansson@etx.ericsson.se said:
> >  Have the code for mkfs.jffs2 changed since last snapshot ?. 
> 
> Nope. 
In that case here is a patch to fix the permissions when cross building
of a disk image.

--- util/mkfs.jffs2.c   Fri Jul  5 00:00:09 2002
+++ util2/mkfs.jffs2.c  Thu Sep  5 16:10:21 2002
@@ -568,8 +568,8 @@
 
        ri.ino = cpu_to_target32(ino);
        ri.mode = cpu_to_target32(statbuf->st_mode);
-       ri.uid = cpu_to_target32(statbuf->st_uid);
-       ri.gid = cpu_to_target32(statbuf->st_gid);
+       ri.uid = cpu_to_target16(statbuf->st_uid);
+       ri.gid = cpu_to_target16(statbuf->st_gid);
        ri.atime = cpu_to_target32(statbuf->st_atime);
        ri.ctime = cpu_to_target32(statbuf->st_ctime);
        ri.mtime = cpu_to_target32(statbuf->st_mtime);

---------

I do still have a difference can you see what type of data this is thats
wrong. The diff is from a correct image to a incorrect.




-- 
Kenneth Johansson	
Ericsson AB                       Tel: +46 8 404 71 83
Borgafjordsgatan 9                Fax: +46 8 404 72 72
164 80 Stockholm                  kenneth.johansson@etx.ericsson.se


[-- Attachment #2: image.diff --]
[-- Type: text/plain, Size: 956 bytes --]

--- jffs2.ppc.txt	Thu Sep  5 15:12:46 2002
+++ jffs2_2.x86.txt	Thu Sep  5 16:08:22 2002
@@ -23,9 +23,9 @@
 000160 00 00 00 03 00 00 00 05 3d 76 85 fb 03 04 00 00  >........=v......<
 000170 76 4a 7c 10 b7 b7 88 2e 63 6c 69 ff 19 85 e0 02  >vJ|.....cli.....<
 000180 00 00 00 44 a4 ef 22 3e 00 00 00 05 00 00 00 01  >...D..">........<
-000190 00 00 41 ff 04 d2 00 00 00 00 00 00 3d 76 85 fb  >..A.........=v..<
+000190 00 00 41 ff 00 00 00 00 00 00 00 00 3d 76 85 fb  >..A.........=v..<
 0001a0 3d 76 85 fb 3d 76 85 fb 00 00 00 00 00 00 00 00  >=v..=v..........<
-0001b0 00 00 00 00 00 00 00 00 00 00 00 00 eb 79 c2 92  >.............y..<
+0001b0 00 00 00 00 00 00 00 00 00 00 00 00 2e 47 c8 69  >.............G.i<
 0001c0 19 85 e0 01 00 00 00 2b 3e 42 24 27 00 00 00 04  >.......+>B$'....<
 0001d0 00 00 00 04 00 00 00 06 3d 76 85 fb 03 04 00 00  >........=v......<
 0001e0 32 b4 46 8d 2b cb 60 9a 70 70 70 ff 19 85 e0 02  >2.F.+.`.ppp.....<

  reply	other threads:[~2002-09-05 14:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-05 12:30 cvs snapshot Kenneth Johansson
2002-09-05 13:06 ` David Woodhouse
2002-09-05 13:39   ` Kenneth Johansson
2002-09-05 13:40     ` David Woodhouse
2002-09-05 14:15       ` Kenneth Johansson [this message]
2002-09-05 15:27         ` David Woodhouse
2002-09-05 13:59 ` David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1031235341.20555.124.camel@spawn \
    --to=kenneth.johansson@etx.ericsson.se \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.