From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [81.3.11.18] (helo=mail.ku-gbr.de) by canuck.infradead.org with esmtps (Exim 4.52 #1 (Red Hat Linux)) id 1EKaWX-0004A8-OS for linux-mtd@lists.infradead.org; Wed, 28 Sep 2005 07:55:26 -0400 Date: Wed, 28 Sep 2005 13:54:50 +0200 Message-ID: <877jd176gl.wl%kletschke@synertronixx.de> From: Konstantin Kletschke To: "Artem B. Bityutskiy" In-Reply-To: <878xxh77zp.wl%kletschke@synertronixx.de> References: <87achx7a0l.wl%kletschke@synertronixx.de> <433A7568.2010000@yandex.ru> <878xxh77zp.wl%kletschke@synertronixx.de> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Wed_Sep_28_13:54:50_2005-1" Cc: linux-mtd@lists.infradead.org Subject: Re: Inode #274 was a directory with children - removing those too... List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --Multipart_Wed_Sep_28_13:54:50_2005-1 Content-Type: text/plain; charset=US-ASCII At Wed, 28 Sep 2005 13:21:46 +0200, Konstantin Kletschke 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 --Multipart_Wed_Sep_28_13:54:50_2005-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="less" Content-Transfer-Encoding: quoted-printable Inode node at 0x0007e42c, totlen 0x00000799, #ino 266, ver= sion 1, isize 10873, csize 1877, dsize 4096, offset 0 Inode node at 0x0007ebc8, totlen 0x0000073e, #ino 266, ver= sion 2, isize 10873, csize 1786, dsize 4096, offset 4096 Inode node at 0x0007f308, totlen 0x000003f3, #ino 266, ver= sion 3, isize 10873, csize 943, dsize 2681, offset 8192 Dirent node at 0x0007f6fc, totlen 0x0000002e, #pino 4, ver= sion 265, #ino 267, nsize 6, name shadow Inode node at 0x0007f72c, totlen 0x000000b3, #ino 267, ver= sion 1, isize 321, csize 111, dsize 321, offset 0 Dirent node at 0x0007f7e0, totlen 0x0000002e, #pino 4, ver= sion 266, #ino 268, nsize 6, name shadow Inode node at 0x0007f810, totlen 0x000000b3, #ino 268, ver= sion 1, isize 321, csize 111, dsize 321, offset 0 Dirent node at 0x0007f8c4, totlen 0x0000002e, #pino 4, ver= sion 267, #ino 269, nsize 6, name passwd Inode node at 0x0007f8f4, totlen 0x00000137, #ino 269, ver= sion 1, isize 489, csize 243, dsize 489, offset 0 Dirent node at 0x0007fa2c, totlen 0x00000032, #pino 254, ver= sion 268, #ino 270, nsize 10, name S20urandom Inode node at 0x0007fa60, totlen 0x00000270, #ino 270, ver= sion 1, isize 1108, csize 556, dsize 1108, offset 0 Dirent node at 0x0007fcd0, totlen 0x00000032, #pino 254, ver= sion 269, #ino 271, nsize 10, name S40network Inode node at 0x0007fd04, totlen 0x00000112, #ino 271, ver= sion 1, isize 340, csize 206, dsize 340, offset 0 Dirent node at 0x0007fe18, totlen 0x00000033, #pino 254, ver= sion 270, #ino 272, nsize 11, name S50dropbear Inode node at 0x0007fe4c, totlen 0x000001af, #ino 272, ver= sion 1, isize 1007, csize 363, dsize 734, offset 0 Inode node at 0x0008000c, totlen 0x00000104, #ino 272, ver= sion 2, isize 1007, csize 192, dsize 273, offset 734 Dirent node at 0x00080110, totlen 0x0000002b, #pino 254, ver= sion 271, #ino 273, nsize 3, name rcS Inode node at 0x0008013c, totlen 0x0000015c, #ino 273, ver= sion 1, isize 408, csize 280, dsize 408, offset 0 Dirent node at 0x00080298, totlen 0x00000033, #pino 259, ver= sion 272, #ino 274, nsize 11, name if-pre-up.d Inode node at 0x000802cc, totlen 0x00000044, #ino 274, ver= sion 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x00080310, totlen 0x00000032, #pino 259, ver= sion 273, #ino 275, nsize 10, name interfaces Inode node at 0x00080344, totlen 0x0000034a, #ino 275, ver= sion 1, isize 1618, csize 774, dsize 1618, offset 0 Dirent node at 0x00080690, totlen 0x0000002f, #pino 259, ver= sion 274, #ino 276, nsize 7, name if-up.d Inode node at 0x000806c0, totlen 0x00000044, #ino 276, ver= sion 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x00080704, totlen 0x00000033, #pino 259, ver= sion 275, #ino 277, nsize 11, name if-pre-up.d Inode node at 0x00080738, totlen 0x00000044, #ino 277, ver= sion 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x0008077c, totlen 0x00000031, #pino 259, ver= sion 276, #ino 278, nsize 9, name if-down.d Inode node at 0x000807b0, totlen 0x00000044, #ino 278, ver= sion 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x000807f4, totlen 0x00000036, #pino 259, ver= sion 277, #ino 279, nsize 14, name if-post-down.d Inode node at 0x0008082c, totlen 0x00000044, #ino 279, ver= sion 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x00080870, totlen 0x0000003c, #pino 274, ver= sion 278, #ino 280, nsize 20, name linux-wlan-ng-pre-up Inode node at 0x000808ac, totlen 0x0000065b, #ino 280, ver= sion 1, isize 6027, csize 1559, dsize 4096, offset 0 Inode node at 0x00080f08, totlen 0x000002e8, #ino 280, ver= sion 2, isize 6027, csize 676, dsize 1931, offset 4096 Dirent node at 0x000811f0, totlen 0x0000002f, #pino 5, ver= sion 279, #ino 281, nsize 7, name default Inode node at 0x00081220, totlen 0x00000044, #ino 281, ver= sion 1, isize 0, csize 0, dsize 0, offset 0 Dirent node at 0x00081264, totlen 0x0000003b, #pino 6, ver= sion 280, #ino 282, nsize 19, name ld-uClibc-0.9.27.so Inode node at 0x000812a0, totlen 0x000008b1, #ino 282, ver= sion 1, isize 19452, csize 2157, dsize 4096, offset 0 Inode node at 0x00081b54, totlen 0x00000a7e, #ino 282, ver= sion 2, isize 19452, csize 2618, dsize 4096, offset 4096 --Multipart_Wed_Sep_28_13:54:50_2005-1 Content-Type: text/plain; charset=US-ASCII -- GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF --Multipart_Wed_Sep_28_13:54:50_2005-1--