Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-17-2005, 02:52 AM   #1
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
vfat mp3 player corrupt files

I have a MP3 player, FAT filesystem so I mount it as vfat, I've used it under Windows no problem but a few weeks ago I copied a bunch of songs to it from linux since I no longer have windows installed and a bunch of files refused to play. This morning I was in a mad rush and I copied a few CDs onto it and left but when I went to play it not one file worked. I plug it into the computer and the files are there but won't play.

I'm using autofs to automagically mount it when I plug it in but I'm just unplugging it at the end, autofs unmounts it but with a FAT filesystem do I need to umount it before I unplug it? I'll have a play around but anyone have any ideas why the files end up corrupt?

Old 01-17-2005, 02:58 AM   #2
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Original Poster
Rep: Reputation: 57
Okay a quick experiment seems to suggest that unmounting the filesystem properly before I unplug the device works. Any ideas on how I can make this more automatic, I can handle the mounting and unmounting fine but my roommates will probably want to use it and it'd be easier if I could get it to a plugin-copy-unplug procedure.

Thanks for any ideas
Old 01-17-2005, 03:17 AM   #3
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
You can tell your roomates to "click here" when done copying files to complete the process. Have the "click here" be a command to umount the devce...

So it sounds like it's caching the files somewhere rather than actually copying them, then upon umount, completes the actual copy/move. Check the options for vfat to see if there is a cache option that you can turn on/off.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Able to write files to MP3 player but no files written into actual device? olnex Linux - Hardware 0 11-11-2005 06:32 AM
Setting a default player for mp3 files in Debian? Dead Parrot Debian 3 02-11-2005 04:48 PM
how can i play mp3 files in red hat linux 9 using xmms player? nikhil_imt Linux - Software 4 01-24-2005 02:43 PM
.m3u files from xmms won't work with mp3 player ? matt_w_lambert Linux - Software 1 10-06-2004 01:23 AM
USB Memory Stick/MP3 Player (Can't read files) jasarien Linux - Hardware 12 08-27-2004 04:09 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration