8 comments on “Alphabetically Sorting FAT USB drives with Mac OSX

  1. Riiight, unfortunately it didn’t recognized FAT32 with 64K cluster size.

    check_bootsector: Cluster size is larger than 32k!
    read_bootsector: This is not a FAT boot sector or sector is damaged!
    openFileSystem: Failed to read boot sector!
    sortFileSystem: Failed to open file system!
    main: Failed to sort file system!

      • That was a nice one-line reply, but it had nothing to do with my issue.

        I reformatted the card to FAT32 32K cluster size back then and now it works perfectly.
        File system: FAT32.

        Sorting directory /
        Sorting directory /.Spotlight-V100/
        Sorting directory /.Spotlight-V100/Store-V1/
        Sorting directory /.Spotlight-V100/Store-V2/
        Sorting directory /.Spotlight-V100/Store-V2/E13D679A-C486-403F-BBDE-E456F6A83648/
        Sorting directory /.Spotlight-V100/Store-V2/E13D679A-C486-403F-BBDE-E456F6A83648/journals.live/
        Sorting directory /.Spotlight-V100/Store-V2/E13D679A-C486-403F-BBDE-E456F6A83648/journals.scan/
        Sorting directory /.Trashes/
        Sorting directory /.fseventsd/
        Sorting directory /A-F/
        Sorting directory /A-F/Adele/
        …..

      • Sorry. I thought it had everything to do with your issue since the article is about sorting a FAT volume, not a FAT32 one.

  2. Whoops, didn’t noticed that you’re talking about FAT16 (I assume FAT16 as FAT12 is too legacy?)

    Right, I can assure the fatsort is a good stuff for FAT32, though limited to 32K cluster size. No biggie with no 64K support, anyway. I’ve been using DriveSort on Windows for several days and found out that it would corrupt my audio files occassionally, without any CRC errors! Stay away from DriveSort!

  3. Hi, thanks for taking the time to write this.
    I’m running into some issue though.
    How exactly do you run fatsort from the location you copied it to while staying in root# ? I can’t access the directory.
    And when I exit the root and try to run it from its location I get:
    MBP-de-Thomas:~ Thomas$ ./fatsort /dev/disk3s1
    openFileSystem: Permission denied!
    sortFileSystem: Failed to open file system!
    main: Failed to sort file system!

    • root should be able to access any file in any directory. You may need to alter the fatsort binary to have execute permissions with 755 (rwxr-xr-x) or 775 (rwxrwxr-x). It looks like from the error that its not the execute permission on the program, but rather the filesystem your trying to sort. Make sure the filesystem mounted is read/writable. Again, as root, it shouldn’t be an issue.

      • Well I managed to fix my problem by only entering sudo -s instead of the sudo su command. This gives me the permissions required and lets me access the right directory. I can now sort my car music properly.
        Thanks for the answer anyway 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s