Inode #274 was a directory with children - removing those too...

Konstantin Kletschke lists at ku-gbr.de
Wed Sep 28 07:54:50 EDT 2005


At Wed, 28 Sep 2005 13:21:46 +0200,
Konstantin Kletschke <lists at 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 at 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: less
Type: application/octet-stream
Size: 5482 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20050928/2c543af9/attachment.obj 
-------------- next part --------------



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


More information about the linux-mtd mailing list