Skip to contentSkip to conversation

Cannot remove child on JFFS2 FS

DISCUSSION [email protected] 2 participants 2 messages Aug 27, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hello,

I am using JFFS2 (from CVS july 01 2002) and 2.4.17 linux kernel on a specific board (ppc405gp with a nand flash : Toshiba TC58256FT/DC)

After booting on linux with nand flash FS, I create a directory (dir) and I put some files

Quoted 2 lines

mkdir /dir
cp /src/file* /dir

Now I remove all files from this directory

Quoted 1 line

rm /dir/*

I remove the directory too

Quoted 1 line

rmdir /dir

Now, after reboot for each FS mount and for each file on the removed directory, this message appears on console :
Cannot remove child "fileXXX", ino #0, because it doesn't exist

How can I solve this problem ? (because this message induce long time to mount partition.)

Thanks in advance for your time and your help !

Best regards,

Olivier

#1 lore raw
Quoted 6 lines · On Tue, 2002-08-27 at 08:13, [email protected] wrote:

Now, after reboot for each FS mount and for each file on the removed directory, this message appears on console :
Cannot remove child "fileXXX", ino #0, because it doesn't exist

How can I solve this problem ? (because this message induce long time to mount partition.)

Use latest CVS code. It's fixed there.

Signature · 5 lines
Thomas 
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: [email protected]