Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For Linux desktops, when Windows compatibility is not an issue, which file system is preferred for USB sticks? For example ext2, ext3, ext4, btrfs, nilfs, or even NTFS? Would journaling wear them out prematurely? I heard it's better to mount with noatime option, but how to set it if it's used across many computers?

share|improve this question

migrated from serverfault.com Feb 26 '12 at 15:37

This question came from our site for system and network administrators.

is this mostly written once and read many times or is this read and written in near equal proportions? If it's the former, I'd choose ext2. – bsd Feb 26 '12 at 17:58

All decent flash devices perform internal wear leveling so the journal won't wear them out ( too ) prematurely, so ext4 is fine from that perspective. The problem with using most unix filesystems across multiple computers is permissions. If the different computers do not have the same set of users with the same UIDs, the ownership will be wrong. For this reason, it is generally better to stick with fat32, which also allows you to share with Windows. As an alternative, you can use UDF, which can pretend the files are always owned by the interactively logged in user that (auto) mounted the drive.

share|improve this answer
With vfat, you don't have any permissions at all - how can it be an advantage? "Windows compatibility is not an issue" was the clear restriction from the question. – user unknown Feb 27 '12 at 13:15
@userunknown, because with no permissions at all, they can't cause problems when you move the drive to another machine where you have a different UID. – psusi Feb 27 '12 at 15:38
If I have sudo permissions - if I have sudo permissions on one machine - I can do a chown for whole directory trees, but executables stay executable and writable is only what needs to be writable. With vfat, that information is lost and harder to restore than the owner of files. – user unknown Feb 28 '12 at 1:54
@userunknown, yes, if you like being able to keep some files writable/executable but not others, UDF would be the best option so you don't have to bother with chowning everything back and forth each time. – psusi Mar 1 '12 at 18:59

BTRFS would be good, but it's not stable yet, so I would use ext2 or ext3/4 without a journal.

share|improve this answer

BTRFS's copy on write method doesn't put as big wearing pressure on the USB as ext3-4 because of its journal.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.