LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-05-2010, 01:11 PM   #1
bldrco
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Rep: Reputation: 1
managing vfat partitions from linux


I have a fat32 partition on linux that is used as an image for a virtual machine running an rtos. Linux needs to be able to mount and update files on this partition. The problem is there is some kind of fs compatibility issue with the linux and rtos fat32 implementations when the fs is fragmented by linux modifying files. Is there any linux utility (preferably open-source) for defraging fat32 filesystems? My current work-around is ridiculous: staging files on an ext3 partition and moving them to the vfat partition after completion, so I'm looking for a more elegant solution but I haven't found any such tool; google search returns forums where the solution is to just not use fat32, but that is not possible with what I'm doing. Thanks
 
Old 02-05-2010, 02:04 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,842

Rep: Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004
Not unless something has changed recently. There are no true defraggers that I've found, and I searched extensively for one. There are however some filesystem-agnostic scripts that basically automate what you're already doing; moving files off of and back on to the drive, effectively defragging them.

One of them is available here: http://ck.kolivas.org/apps/defrag/
 
Old 02-05-2010, 02:23 PM   #3
bldrco
LQ Newbie
 
Registered: Jul 2009
Posts: 8

Original Poster
Rep: Reputation: 1
Thank you for the info -- you've saved me another day of searching! Defragging wouldn't matter if I could just definitively prove that Linux was doing correctly and the RTOS' implementation was bad, then I could submit a request for WindRiver to fix it. I highly doubt Linux is at fault here as I've never had a problem using vfat disks back and forth from Windows. Either way, that's a whole lot of time that I don't have.

I'll try to incorporate the script you linked to. The comment at the top of the script doesn't exactly give me a warm-fuzzy:

Quote:
# Are you really crazy enough to be using this? It might blow your data
# into tiny little useless chunks.
Wow! :-)
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Managing disks and partitions in Suse 10 cvzyl Linux - Hardware 2 07-30-2006 03:30 AM
managing partitions sakman Linux - Newbie 2 06-24-2005 10:52 PM
Users cannot mount or access mounted windows vfat partitions (Distro: Gentoo Linux) kamel Linux - Software 6 05-15-2004 07:08 PM
Linux creating VFAT partitions & them not working properly! Thymox General 4 12-07-2001 04:51 AM
Creating vfat partitions with linux joeey21 Linux - General 6 11-04-2001 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:58 PM.

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