View Full Version : File copying problem
Hello,
I use linux and I'm having some trouble copying my vorbis-encoded ogg files to the D2 using firmware v2.45b (I had no trouble with 2.20 or 2.21, I don't remember what it was): when I copy my files (after mounting the D2), file/directory names are automatically lowercased and sometimes truncated when they contain spaces. Besides, say I'm copying a directory containing 10 ogg files, only one file is copied and then it gets overwritten 9 times, because apparently it tries to name the files using ogg tags and it ends up using the same name for all 10 files. How do I copy my directory structure exactly the way it is, without the D2 acting all funny on me?
I'm not sure if I can downgrade to 2.20 now, but I'm just asking to see if someone has a solution to this.
Thank you,
ggx
Just a guess, as I don't use Linux, but maybe your D2's internal memory isn't formatted to FAT32? Did you by chance format the D2 under linux? If it's not FAT32, you may have to plug the D2 into a computer that's running Windows and do a format.
Hope this helps [smile]
I never formatted it. And actually, I just tried checking what format it currently uses but I couldn't even see any partitions on it! (I used fdisk, a popular disk management tool in linux). Everything was working just fine on firmware v2.20.
Anyway, thanks for the suggestion, I will try and format it to FAT32 (or preferrably some other file system) and see if it works.
Thanks once again.
-ggx
Nope, that didn't do it, but I downgraded to v2.20 and everything works fine now. I'll stick to this firmware for a while till the newer firmware versions are more stable.
(EDIT: I should also add that my 8GB Transcend SDHC card doesn't seem to be recognized by firmware v2.20, given the fact that others have reported that this card worked for them (maybe in 2.41?))
-ggx
Mikhaily
05-06-2007, 09:06
Just a guess, as I don't use Linux, but maybe your D2's internal memory isn't formatted to FAT32?
Does the D2 have to be in FAT32?? Mine came as FAT and it works fine [ most of the time ] on my Laptop [ XP ] but my girlfriend runs Linux on one of her laptops and I have trouble copying stuff over from her laptop...
I followed the copy -and drag procedure in linux to my fat D2 drive and encountered no problem whatsoever. I used suse 10.2 and ubuntu feisty.
Moreover, before copying files, I always process them with easytag to avoid problems. I once encountered the problem that some files were NOT copied to my fat32 harddrive, the ones that had - and : in the file name. Fat32 doesn't accept this either - this last example is about a hd, not the d2.
I don't have the answer unfortunately.
I haven't used Linux in a long time (but I might since I think Vista is totally sucking right now... Ubuntu here I come) but I think this problem must be something related to whatever flavor of Linux ggx is running.
ggx, sorry to hear that you're stuck in an older firmware that's not letting you use your memory card. I hope you can get this problem fixed soon. Hopefully the next final firmware (3.45) will do the trick!
Hello again,
I've upgraded to firmware 2.46 in hope that the problem has been solved in it, but it's still the same, so after some more investigation, I noticed that file names (that I move to my D2) can not be more than a maximum of 12 characters in length: A maximum of 8 characters for the first part of it, then a dot, and then a maximum of 3 characters for the extension. Everything is lowercased.
This is very similar to the way file names in DOS are truncated. Actually it's exactly the same if my memory serves me well, so I'm guessing my D2 is using the wrong file system (although in firmware v2.20 everything worked fine, and I never had to manually format it).
If you have any suggestions, please post them here (I've already tried formatting my D2 to FAT32. No go).
Thanks,
ggx
ManchesterBaby
05-23-2007, 16:26
How are you mounting the D2?
Type "mount" into a console (with the D2 mounted!) and post the results here...
(I get:
/dev/sda on /media/D2 type vfat (rw,noexec,nosuid,nodev,shortname=winnt,uid=500)
/dev/sdb on /media/4GB-SD type vfat rw,noexec,nosuid,nodev,shortname=winnt,uid=500)
for the D2 related mounts)
Maybe you're mounting the D2 with a "msdos" type filesystem. This appears to be pretty much the same as type "vfat" but without the support for long filenames.
(e.g if i mount as type "msdos" i get the 8.3 dos type filenames. If i mount as type "vfat" i get full long filenames as expected.
USB mass storage devices are generally automatically mounted by linux with a vfat filesystem, but maybe your system is mounting it with a msdos filesystem instead for some reason (or you're mounting it manually with an msdos filesystem)).
Having said that it seems strange that this is related to the version of the firmware you're using on the D2...
What distribution of linux are you using?
Thank you so much! Problem solved. It was exactly like you mentioned: the device was mounted as an msdos filesystem, which is really weird, because with firmware v2.20, it was not mounted like that (because I could use full file names)... so I forced it to use vfat and everything worked.
Thanks once again!
ggx
ManchesterBaby
05-24-2007, 06:54
No problem, pleased to hear it's all working now!
scaglifr
05-24-2007, 07:27
Interestingly on SuSE 10 the internal memory is automounted on /media/D2 but the card is not automounted.
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.