public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stewart Smith <stewart@linux.org.au>
To: Robert White <rwhite@casabyte.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: VFAT Defragmentation under Linux
Date: Sat, 7 Jun 2003 17:04:03 +1000	[thread overview]
Message-ID: <20030607070403.GA1540@cancer> (raw)
In-Reply-To: <PEEPIDHAKMCGHDBJLHKGOELGCOAA.rwhite@casabyte.com>

On Fri, Jun 06, 2003 at 08:00:57PM -0700, Robert White wrote:
> Do the VFAT drivers likewise defragment the VFAT partitions?

Not that I'm aware of, and I'd argue that it's probably not
a good idea to try and do it inside the FS.

> If not, is there a Linux-hosted defragment program for defragmenting an
> unmounted VFAT partition?

The closest would probably be how programs such as GNU parted resize
partitions.

There are many optimizations that you could do to the average FAT/VFAT
filesystem. From making files contiguous, grouping files that are in
the same directory, ordering the directory lists etc.

Although one would have to question the usefulness of this kind of software these days. The number of new VFAT filesystems is getting smaller by the month (except on CF cards in cameras and the like - and they'd be re mkfs'd pretty often so wouldn't suffer too much from the performance degredation of continuous use).

I'd argue that testing/bug fixing ntfsresize would be of more use - especially in converting eXtra Poo users. :)

> So far the only Linux-level defragment operation that I seem to have
> available for a VFAT partition is to mount the drive, cpio everything off of
> it, delete its contents, and then copy everything back.  That's a little
> drastic and has obvious issues if you want to then boot that partition
> separately/later.

This would not do a 'complete' optimization... but probably would help.

      reply	other threads:[~2003-06-07  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-07  3:00 VFAT Defragmentation under Linux Robert White
2003-06-07  7:04 ` Stewart Smith [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030607070403.GA1540@cancer \
    --to=stewart@linux.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rwhite@casabyte.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox