Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I often use movable disk (USB) to change data between different OSs, almost four kinds -- Linux, Windows, Mac OS X, FreeBSD. Obviously, VFAT is supported in all kinds of OSs. But the short is: It cannot preserve common UNIX attributions, such as ownership, privileges. NTFS is writable using FUSE under Linux and Mac OS X, seems not writable under FreeBSD. Ext2 is accessible under Windows using tools (e.g. ext2fsd), how about it under FreeBSD and Mac OS?

Candidates: Ext2? NTFS? VFAT? It seems Ext2 is good. Any other candidate?

share|improve this question
add comment

migrated from stackoverflow.com Feb 14 '12 at 7:25

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 2 down vote accepted

I think ext2 is the only option here - if you need a POSIX compliant FS. Vfat is the obvious choice if you can live without unix ownership.

share|improve this answer
1  
+1 with @Kimvais. There are fuse based ntfs and ext2/3 tools on FreeBSD. –  Ouki Feb 14 '12 at 7:36
    
I looked up wikipedia and found nothing usefully for my question. It seems the only choice is ext2 now. Hope there will be a kind of fs for all OSs, especially optimized for movable disk. –  Exaos Feb 14 '12 at 7:55
    
Don't get your hopes up. Linux can mount almost anything under the sun, so there is no need for a special FS for that. Mac and Windows users don't need UNIX attributes, so the companies couldn't care less. And the trend is towards cloud FS - in a few years, no one will use thumb drives anymore. –  Aaron Digulla Feb 14 '12 at 8:37
1  
I'm not sure about ext2. It has limited support in FreeBSD (inode size must be <= 128 IIRC). I would rather go for NTFS. –  maxelost Feb 24 '12 at 16:29
add comment

I like UDF for my portable storage media filesystem needs, but it comes with a few caveats:

  • No native write support in Windows XP, legacy Linux, OpenBSD, FreeBSD, Solaris or pre-10.5 MacOS.
  • No useful reading support in pre-2k Windows.
  • Limited to version 1.50 or 2.01 for write support in Linux.
  • Limited to version 1.50 for read support in OpenBSD(more correctly, not 2.0x), FreeBSD and Solaris.

Taking these into account, you would get decent compatibility with version 1.50, or 2.01 if you don't need *BSD support. I believe the more recent version has some improvements on performance in relation to overwriting, but I'm no expert.

Edit:

Note that there are a lot of incorrect man-pages for mkudffs in the wild. On a usb drive you really want to set the blocksize to 512 bytes. If I remember correctly, things break on Windows otherwise. Also, you probably want to set --media-type=hd.

share|improve this answer
    
I create a partition as '0x83' (Linux type) on my USB disk and then mkudffs --media-type=hd --utf8 /dev/sdc1. I can mount it manually. But the KDE device monitor cannot recognize it automatically. –  Exaos Feb 26 '12 at 11:34
add comment

Your Answer

 
discard

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.