Hi,
I was trying to build OpenMoko on a NTFS-3g filesystem and ran into an
error,
and I found a way to reproduce it:
dd if=/dev/zero of=ntfs.image bs=1M count=300
losetup /dev/loop7 ntfs.image
mkfs.ntfs -Q /dev/loop7
ntfs-3g /dev/loop7 /mnt
svn co http://svn.openmoko.org/ /mnt/openmoko
This stops after 39MB download with:
...
A
/mnt/openmoko/trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/openmoko-mokotoolbox-with-search-background.png
svn: In directory
'/mnt/openmoko/trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0'
svn: Can't move source to dest
svn: Can't move
'/mnt/openmoko/trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/.svn/tmp/prop-base/light-brushed.png.svn-base'
to
'/mnt/openmoko/trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/.svn/prop-base/light-brushed.png.svn-base':
Operation not supported
strace mv
'/mnt/openmoko/trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/.svn/tmp/prop-base/light-brushed.png.svn-base'
'/mnt/openmoko/trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/.svn/prop-base/light-brushed.png.svn-base'
gives:
rename("/mnt/openmoko/trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/.svn/tmp/prop-base/light-brushed.png.svn-base",
"/mnt/openmoko/trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/.svn/prop-base/light-brushed.png.svn-base")
= -1 EOPNOTSUPP (Operation not supported)
and syslog gets
ntfs-3g: Denied to truncate INDEX ROOT during entry removal: Operation not
supported
for each rename attempt and the same message is also triggered by the first
rm -rf /mnt/openmoko/
which gives:
rm: cannot remove
`/mnt/openmoko//trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/.svn/tmp/prop-base/light-brushed.png.svn-base':
Operation not supported
A second "rm -rf /mnt/openmoko" always succeeds.
BTW, the error didn't reproduce when I changed
dd if=/dev/zero of=ntfs.image bs=1M count=300
to
dd if=/dev/zero of=ntfs.image bs=1M count=50
Note: You have to run 'losetup -d /dev/loop7' before re-running the comand
seqence
to make the loopback driver use the new image!
Cheers,
Bernhard Kaindl
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel