Skip to contentSkip to conversation

vfat lost file problem

DISCUSSION Raistlin 2 participants 2 messages Aug 17, 2003

lore
Share & tools
lore

Raistlin

author
#0 lore raw

Kernel Version:
Linux debian 2.4.21 #6 SMP Wed Aug 6 11:55:01 CEST 2003 i686 GNU/Linux mv command Version:
mv (coreutils) 5.0.90

I've discovered that if you try to change the name of a file in a vfat partition only changing upper or lower case the file immediatly disappears.

Example:
If we have the file a.txt and we want to rename it like A.txt if we use the mv command mv a.txt A.txt the file a.txt (and also A.txt) are deleted.

I hope I helped you; let me know if it's so (i'm not subscribed to the mailing list)
Bye
Luigi Audasso - il_guru

#1 lore raw
Quoted 9 lines · Raistlin

Kernel Version:
Linux debian 2.4.21 #6 SMP Wed Aug 6 11:55:01 CEST 2003 i686 GNU/Linux mv command Version:
mv (coreutils) 5.0.90

I've discovered that if you try to change the name of a file in a vfat partition only changing upper or lower case the file immediatly disappears.

Looks like 5.0.90 does it. If src and dst are same inode, just unlink src. Probably it assume hard link.

Could you please report this to coreutils maintainer?

Signature · 1 line
OGAWA Hirofumi <[email protected]>