Hello,
on my device (BASE branded "Lutea", ZTE blade running Android 2.1-
update1, Kernel 2.6.29 zte-kernel@Zdroid-SMT) I recently discovered an
odd behaviour concerning files with names of length 255. These files
were left behind in the cache of an application (badoo), and could not
be removed, even not with root permissions.
It seems that on deletion the inode information gets cleared, but the
filename information kepps lingering around, even preventing the
containing directory from being removed by 'rm -r'.
The case can easily be verified on my device with the following shell
code:
# n="X"; while [ ${#n} -lt 255 ]; do n="X$n"; done; touch $n; mv $n
XXX
which results in:
failed on
'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
- Directory not empty
# uname -a
Linux localhost 2.6.29 #2 PREEMPT Thu Oct 28 16:31:13 CST 2010 armv6l
GNU/Linux
Tried the same thing in Android emulator on PC, no problems, correct
behaviour, file gets renamed.
Unfortunately, I have no other device or Android release to test with.
So the question is, if anyone else can reproduce the malfunction, and
if this is the case, how can one get rid of these files?
Thanks and regards,
Stefan
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en