Filesystem to use for external hard drive to be used with Mac, Linux and Windows machines

14

5

Possible Duplicate:
Cross-platform file system

I have a rather large USB drive that I'd like to be able to use across the different machines I own. I'm having a hard time figuring out what would be the best file system to use on it to be able to read/write things from the 3 OSs I'm in contact with: Windows, Linux and Mac.

Suggestions?

Daniel

Posted 2011-01-20T18:00:50.783

Reputation: 141

Question was closed 2011-01-21T11:39:06.493

4

duplicate of this, this, this, this, this and others. Come on folks, use the search functions.

– Daniel Beck – 2011-01-21T01:16:36.867

@Daniel, you are right. I tried to delete it but the system won't let me. – Daniel – 2011-04-14T20:18:01.913

1Duplicates on this site increase the chances of others to find the related questions, so it's not that bad ;-) – Daniel Beck – 2011-04-14T20:30:39.777

Answers

13

The best choice might be Universal Disk Format. Windows XP, Mac OS, and Linux all support UDF reading and writing. UDF has good Unicode support and does not have the 4gb maximum size limit of FAT32.

I believe that NTFS is a bad choice because you cannot ensure that you will be able to install the appropriate drivers on every Mac OS computer you use. UDF is the accepted format for removable media and does not require reverse-engineered drivers on any operating system.

Just Jake

Posted 2011-01-20T18:00:50.783

Reputation: 688

Is UDF a reasonable filesystem for an internal hard disk that is accessed by Linux and Windows in dual-boot scenario? I really loathe the idea of using NTFS for it. – zymhan – 2015-02-08T14:37:44.233

It seems that Linux only supports UDF write up till version 2.05: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/fs/udf/udf_sb.h?id=v3.13#n11

– Gerry – 2015-09-22T04:14:57.910

I thought UDF was designed for editable CDs where nothing can actually be deleted? – ewanm89 – 2011-02-19T11:46:05.640

Later UDF versions cater for random access hard drives and flash memory. Just make sure to stick to a portable UDF version and options, see http://serverfault.com/questions/55089/with-what-tool-should-i-format-a-hard-drive-as-udf

– MarcH – 2011-12-31T10:54:07.627

2

This is a possible duplicate of this question, but to help the individual out, here is the information that they want.

It is possible to use NTFS with all three OSs. NTFS has a maximum file size of 16TB. There are drivers made for Linux and Mac that can allow you to read and write to an NTFS file system. If you need help finding these drivers, check out this link.

David

Posted 2011-01-20T18:00:50.783

Reputation: 6 975

1The only drawback is you can't change permissions to NTFS objects outside of Windows. Other than that, it's pretty fine. – Tobias Plutat – 2011-01-20T18:12:05.070

1

You could use NTFS.

Windows: NTFS is built in. Most Linux distros come with NTFS-3g driver to read NTFS.
With OSX you need to get the OSX-version of NTFS-3g installed,
for that try: http://forums.applenova.com/showthread.php?t=21842&page=4

madmaze

Posted 2011-01-20T18:00:50.783

Reputation: 3 447

NTFS doesn't seem ideal as you'd need to install the driver on OS X systems for write support. If you don't have Administrator privileges on the machine you won't be able to do so and write to the disk. – Just Jake – 2011-01-21T00:46:33.267

1

FAT32 is supported by all of those Operating Systems natively. The only limitation with FAT32 is that the largest single file you can store has to be less than 4GB.

Jay_Booney

Posted 2011-01-20T18:00:50.783

Reputation: 389

The formatters in modern windows artificially limit the size of FAT32 volumes to 32GiB but larger fat32 volumes can be created with other tools. – plugwash – 2017-09-29T23:05:37.933

How else does it compare to using NTFS (aside from max file size differences)? – FrustratedWithFormsDesigner – 2011-01-20T19:48:02.187

3The more files you store, the slower you access them. Power glitches can corrupt it. No access control. Repeated read-write access creates fragmentation that slows access down. Max volume size is 32 GiB. But: filesystem is dead simple, every OS has reasonable read-write support for it, Linux ans Windows can check/fix errors. – 9000 – 2011-01-21T02:49:37.027

1

In Mac OS X, use the following commands to format your large (no 4Gb limit) hard drive in FAT32.

It will be readable and writable on Linux, Mac OS X et Windows.

First, identify the disk you want to format with this command:

$ diskutil list

The output is going to look a bit like this:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *232.9 Gi   disk0
   1:                        EFI                         200.0 Mi   disk0s1
   2:                  Apple_HFS Mac_HD                  39.9 Gi    disk0s2
   3:                  Apple_HFS Data                    192.6 Gi   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *1.9 Gi     disk1
   1:                 DOS_FAT_32 CORSAIR                 1.9 Gi     disk1s1

Let's assume we want to format the Corsair USB key and name it "Millenium Falcon":

$ diskutil partitionDisk /dev/disk1 MBRFormat "MS-DOS FAT32" "Millenium Falcon" 1.9G

For more info:

$ man diskutil

romainl

Posted 2011-01-20T18:00:50.783

Reputation: 19 227