The Artima Developer Community
Sponsored Link

Java Buzz Forum
Formatting a USB Flash-Drive for OS X

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Wolf Paulus

Posts: 692
Nickname: wolfpaulus
Registered: Jan, 2004

Wolf Paulus is an experienced software developer focusing on Java, XML, Mac OS X, wireless/mobile ..
Formatting a USB Flash-Drive for OS X Posted: Mar 31, 2007 11:55 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Wolf Paulus.
Original Post: Formatting a USB Flash-Drive for OS X
Feed Title: Wolf's Web Journal
Feed URL: http://wolfpaulus.com/feed/
Feed Description: Journal - dedicated to excellence, and motivated by enthusiasm to trying new things
Latest Java Buzz Posts
Latest Java Buzz Posts by Wolf Paulus
Latest Posts From Wolf's Web Journal

Advertisement
Since a while back, I'm using a tool to store all my passwords, website logins, program serial numbers etc. all RC4-encrypted and password-protected. Currently, the password tool (Pastor) and the data file are located on my Power Mac G5, which of course is a problem when I need to lookup a password when away from the G5, like at work for instance. Putting everything on a USB Flash Drives may be a good solution but I'm just exploring the possibility while I'm writing this, so let's see how it goes. When formatting a USB Flash Drive (or any drive for that matter) OS X offers the following 7 choices:
  • UNIX File System
  • MS-DOS File System
  • MAC OS Standard
  • MAC OS Extended (Case-sensitive)
  • MAC OS Extended (Case-sensitive, Journaled)
  • MAC OS Extended
  • MAC OS Extended (Journaled)
and the best format to chose really depends on the intended use of the drive. If the flash drive needs to be used on a Windows PC as well, then MS-DOS FAT32 File System is the one and only option available. The same is true for UNIX, which makes UNIX-FS the obvious, best choice.

But how do all these formats compare and which one should be used, if Macs running OS X are the only computers the Flash-Drive will ever be used with?

Mac OS Extended a.k.a. HFS Plus a.k.a. HFS+ seems to have a lot of advantages over MAC OS Standard a.k.a HFS.
  • Mac OS Extended format is a hard disk format that increases the number of allocation blocks on the disk and also allows more than 65,000 files on the hard disk. However, Mac OS Extended format optimizes the storage capacity of large hard disks by decreasing the minimum size of a single file.
  • MAC OS Standard a.k.a HFS on the other hand does not support file names > 31 chars, it does not support additional meta-information used by Mac OS X, has as limit of 65k allocation blocks, and is more error-prone than HFS+.
  • Since the storage efficiency of Mac OS Extended format typically applies to 1 GB or larger volumes, Flash Drives with a capacity below 1 GB may still benefit from the MAC OS Standard format.

What about Journaling?

1.0 GB DataTraveler If journaling is turned on for a disk, Mac OS X maintains a continuous record of changes to files on the disk. If your computer stops because of a power failure or some other issue, Mac OS X uses the journal to recover the hard disk to the last acceptable state before it stopped. However, flash memory has a limit when it comes to how often a memory location can be changed and therefore, Journaling doesn't seem to be the first choice when it comes to Flash-Drives.

Storage Efficiency and Write Speed.

We used a Kingston 1 GB Data-Traveler Flash Drive and performed the following tests with every available format:
  • Check available storage capacity after formating
  • Copy 5 large files (total 580.4 MB) and 203 small files (total 812 KB) to the flash drive
  • Measure transfer speed while coping the large files
  • Check used storage after all files were transfered
Dig deeper ...

Read: Formatting a USB Flash-Drive for OS X

Topic: [Mar 27, 2007 12:51 PDT] 16 Links Previous Topic   Next Topic Topic: Groovy - Visitor Pattern

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use