public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Konstantin Kletschke <lists@ku-gbr.de>
To: "Artem B. Bityutskiy" <dedekind@yandex.ru>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Inode #274 was a directory with children - removing those too...
Date: Wed, 28 Sep 2005 13:54:50 +0200	[thread overview]
Message-ID: <877jd176gl.wl%kletschke@synertronixx.de> (raw)
In-Reply-To: <878xxh77zp.wl%kletschke@synertronixx.de>

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

At Wed, 28 Sep 2005 13:21:46 +0200,
Konstantin Kletschke <lists@ku-gbr.de> wrote:

> It happens on a virgin created image. After that on every mount.
> The partition is used as /.

I did some further debugging:

konsti@synertronixx3:/usr/src/buildroot$ ls -laR
build_arm/root/etc/network/
build_arm/root/etc/network/:
total 8
drwxr-xr-x  3 konsti konsti   41 2005-09-28 09:51 .
drwxr-xr-x  4 konsti konsti 4096 2005-09-28 09:51 ..
drwxrwxr-x  2 konsti konsti   33 2005-08-26 15:42 if-pre-up.d
-rw-r--r--  1 konsti konsti 1618 2005-09-28 11:09 interfaces

build_arm/root/etc/network/if-pre-up.d:
total 8
drwxrwxr-x  2 konsti konsti   33 2005-08-26 15:42 .
drwxr-xr-x  3 konsti konsti   41 2005-09-28 09:51 ..
-rwxr-xr-x  1 konsti konsti 6027 2005-08-26 15:42 linux-wlan-ng-pre-up

Then:

/usr/src/buildroot/toolchain_build_arm/mtd-20050122.orig/util/mkfs.jffs2\
        -e 0x20000 -l \
        -d /usr/src/buildroot/build_arm/root \
        -o /usr/src/buildroot/root_fs_arm.jffs2 \
        -D target/scb9328/device_table.txt

On Target:

# ls -laR /etc/network/
/etc/network/:
drwxr-xr-x    6 default  default         0 Sep 28  2005 .
drwxr-xr-x    5 default  default         0 Jan  1 00:00 ..
drwxr-xr-x    2 root     root            0 Sep 28  2005 if-down.d
drwxr-xr-x    2 root     root            0 Sep 28  2005 if-post-down.d
drwxr-xr-x    2 root     root            0 Aug 26  2005 if-pre-up.d
drwxr-xr-x    2 root     root            0 Sep 28  2005 if-up.d
-rw-r--r--    1 default  default      1618 Sep 28  2005 interfaces

/etc/network/if-down.d:
drwxr-xr-x    2 root     root            0 Sep 28  2005 .
drwxr-xr-x    6 default  default         0 Sep 28  2005 ..

/etc/network/if-post-down.d:
drwxr-xr-x    2 root     root            0 Sep 28  2005 .
drwxr-xr-x    6 default  default         0 Sep 28  2005 ..

/etc/network/if-pre-up.d:
drwxr-xr-x    2 root     root            0 Aug 26  2005 .
drwxr-xr-x    6 default  default         0 Sep 28  2005 ..

/etc/network/if-up.d:
drwxr-xr-x    2 root     root            0 Sep 28  2005 .
drwxr-xr-x    6 default  default         0 Sep 28  2005 ..
#

With this devicetable:

/etc/network/if-up.d                    d       755     0       0
-       -       -       -       -
/etc/network/if-pre-up.d                d       755     0       0
-       -       -       -       -
/etc/network/if-down.d                  d       755     0       0
-       -       -       -       -
/etc/network/if-post-down.d             d       755     0       0
-       -       -       -       -

I attach jffs2dump because I am not able to convince emacs to not
linebreak it, it looks unuseable broken at 72 chars.

Konsti



[-- Attachment #2: less --]
[-- Type: application/octet-stream, Size: 5520 bytes --]

         Inode      node at 0x0007e42c, totlen 0x00000799, #ino    266, version     1, isize    10873, csize     1877, dsize     4096, offset        0
         Inode      node at 0x0007ebc8, totlen 0x0000073e, #ino    266, version     2, isize    10873, csize     1786, dsize     4096, offset     4096
         Inode      node at 0x0007f308, totlen 0x000003f3, #ino    266, version     3, isize    10873, csize      943, dsize     2681, offset     8192
         Dirent     node at 0x0007f6fc, totlen 0x0000002e, #pino     4, version   265, #ino       267, nsize        6, name shadow
         Inode      node at 0x0007f72c, totlen 0x000000b3, #ino    267, version     1, isize      321, csize      111, dsize      321, offset        0
         Dirent     node at 0x0007f7e0, totlen 0x0000002e, #pino     4, version   266, #ino       268, nsize        6, name shadow
         Inode      node at 0x0007f810, totlen 0x000000b3, #ino    268, version     1, isize      321, csize      111, dsize      321, offset        0
         Dirent     node at 0x0007f8c4, totlen 0x0000002e, #pino     4, version   267, #ino       269, nsize        6, name passwd
         Inode      node at 0x0007f8f4, totlen 0x00000137, #ino    269, version     1, isize      489, csize      243, dsize      489, offset        0
         Dirent     node at 0x0007fa2c, totlen 0x00000032, #pino   254, version   268, #ino       270, nsize       10, name S20urandom
         Inode      node at 0x0007fa60, totlen 0x00000270, #ino    270, version     1, isize     1108, csize      556, dsize     1108, offset        0
         Dirent     node at 0x0007fcd0, totlen 0x00000032, #pino   254, version   269, #ino       271, nsize       10, name S40network
         Inode      node at 0x0007fd04, totlen 0x00000112, #ino    271, version     1, isize      340, csize      206, dsize      340, offset        0
         Dirent     node at 0x0007fe18, totlen 0x00000033, #pino   254, version   270, #ino       272, nsize       11, name S50dropbear
         Inode      node at 0x0007fe4c, totlen 0x000001af, #ino    272, version     1, isize     1007, csize      363, dsize      734, offset        0
         Inode      node at 0x0008000c, totlen 0x00000104, #ino    272, version     2, isize     1007, csize      192, dsize      273, offset      734
         Dirent     node at 0x00080110, totlen 0x0000002b, #pino   254, version   271, #ino       273, nsize        3, name rcS
         Inode      node at 0x0008013c, totlen 0x0000015c, #ino    273, version     1, isize      408, csize      280, dsize      408, offset        0
         Dirent     node at 0x00080298, totlen 0x00000033, #pino   259, version   272, #ino       274, nsize       11, name if-pre-up.d
         Inode      node at 0x000802cc, totlen 0x00000044, #ino    274, version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x00080310, totlen 0x00000032, #pino   259, version   273, #ino       275, nsize       10, name interfaces
         Inode      node at 0x00080344, totlen 0x0000034a, #ino    275, version     1, isize     1618, csize      774, dsize     1618, offset        0
         Dirent     node at 0x00080690, totlen 0x0000002f, #pino   259, version   274, #ino       276, nsize        7, name if-up.d
         Inode      node at 0x000806c0, totlen 0x00000044, #ino    276, version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x00080704, totlen 0x00000033, #pino   259, version   275, #ino       277, nsize       11, name if-pre-up.d
         Inode      node at 0x00080738, totlen 0x00000044, #ino    277, version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x0008077c, totlen 0x00000031, #pino   259, version   276, #ino       278, nsize        9, name if-down.d
         Inode      node at 0x000807b0, totlen 0x00000044, #ino    278, version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x000807f4, totlen 0x00000036, #pino   259, version   277, #ino       279, nsize       14, name if-post-down.d
         Inode      node at 0x0008082c, totlen 0x00000044, #ino    279, version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x00080870, totlen 0x0000003c, #pino   274, version   278, #ino       280, nsize       20, name linux-wlan-ng-pre-up
         Inode      node at 0x000808ac, totlen 0x0000065b, #ino    280, version     1, isize     6027, csize     1559, dsize     4096, offset        0
         Inode      node at 0x00080f08, totlen 0x000002e8, #ino    280, version     2, isize     6027, csize      676, dsize     1931, offset     4096
         Dirent     node at 0x000811f0, totlen 0x0000002f, #pino     5, version   279, #ino       281, nsize        7, name default
         Inode      node at 0x00081220, totlen 0x00000044, #ino    281, version     1, isize        0, csize        0, dsize        0, offset        0
         Dirent     node at 0x00081264, totlen 0x0000003b, #pino     6, version   280, #ino       282, nsize       19, name ld-uClibc-0.9.27.so
         Inode      node at 0x000812a0, totlen 0x000008b1, #ino    282, version     1, isize    19452, csize     2157, dsize     4096, offset        0
         Inode      node at 0x00081b54, totlen 0x00000a7e, #ino    282, version     2, isize    19452, csize     2618, dsize     4096, offset     4096

[-- Attachment #3: Type: text/plain, Size: 90 bytes --]




-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

      parent reply	other threads:[~2005-09-28 11:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-28 10:38 Inode #274 was a directory with children - removing those too Konstantin Kletschke
2005-09-28 10:50 ` Artem B. Bityutskiy
2005-09-28 11:21   ` Konstantin Kletschke
2005-09-28 11:36     ` Artem B. Bityutskiy
2005-09-28 11:55       ` Konstantin Kletschke
2005-09-28 11:54     ` Konstantin Kletschke [this message]

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=877jd176gl.wl%kletschke@synertronixx.de \
    --to=lists@ku-gbr.de \
    --cc=dedekind@yandex.ru \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox