Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Moving files among partitions = defragmentation?

  1. Mar 25, 2007 #1
    With several partitions on a HD, if I move all the files from one partition to another, then back, doesn't that equate to a defragmentation? Strange question, I know.
     
  2. jcsd
  3. Mar 25, 2007 #2

    -Job-

    User Avatar
    Science Advisor

    Depends on the type of fragmentation and file system. In some file systems types, fragmentation occurs because the OS keeps track of disk memory by splitting it into chunks of X bytes. If a file needs 1.1*X bytes it will be allocated 2 chunks, though it only uses a small portion of the second chunk. This is internal fragmentation, which is hard to avoid.

    On the other hand if the file system can allocate chunks of various sizes, then there might come a point where before allocating another chunk the OS has to look for any leftover strips of memory to allocate. External fragmentation is when empty memory is scattered in small chunks throughout the disk, too small to be used - wasted memory.

    I think your strategy would correct external fragmentation.
     
  4. Mar 25, 2007 #3
    Okay. So, what's a good defragmenter, besides Disk Defragmenter? My file system is NTSF for WinXP Pro.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Moving files among partitions = defragmentation?
  1. Recovering File (Replies: 2)

  2. Daa files (Replies: 2)

  3. Batch file (Replies: 2)

  4. Deleting these files? (Replies: 1)

  5. Disk partitioning (Replies: 4)

Loading...