Jump to content

File system

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 69.18.3.179 (talk) at 05:39, 7 February 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The following table compares general and technical information for a number of file systems. Please see the individual file system articles for further information.

File system: NTFS FAT32 Mac OS X UFS HFS+ ext2 ext3 ReiserFS V3 Reiser4 XFS JFS FFS Be File System HPFS NSS NWFS ODS-5
Creator Microsoft, Gary Kimura, Tom Miller Microsoft Apple Apple Rémy Card Stephen Tweedie Namesys Namesys SGI IBM Marshall McKusick Be Inc., D. Giampaolo, C. Meurillon IBM & Microsoft Novell Novell DEC
Introduced in 1993? 1997? ? 1998 ? ? ? 2005 1994 ? ? 1996? ? 1998 1983 ?
Original operating system Windows NT Windows 9510 Mac OS X Mac OS Linux Linux Linux Linux IRIX AIX11 BSD BeOS OS/2 Netware 5 Netware 2 VMS
  Limits
Maximum filename length 255 bytes 255 bytes ? 255 characters1 255 bytes 255 bytes 4032 bytes/255 characters ? 255 bytes 255 bytes 255 bytes ? 255 bytes ? ? 236 bytes15
Allowable filename characters Space plus
any printable
except\ / : ? * " > < |
Space plus
any printable
except\ / : ? * " > < |
Any Non-null except / Any Unicode2 except : Any Non-null except /, . and .. Any Non-null except /, . and .. Any Non-null except /, . and .. ? Any Non-null except /, . and .. Any Non-null except /, . and .. (for Linux and AIX, more invalid characters on OS/2) Any Non-null except /, . and .. ? Space plus
any printable
except\ / : ? * " > < |
Depends on namespace used Space plus
any printable
except\ / : ? * " > < |
Space plus
any printable
except\ / : ? * " > < |
Maximum pathname length 32767 bytes at least 260 bytes ? ? OS limit applies OS limit applies OS limit applies OS limit applies OS limit applies OS limit applies OS limit applies ? No limit defined12 Only limited by client No limit defined12 4096 bytes16
Maximum file size 16EB 4GB ? 8EB 16GB to 2TB4 16GB to 2TB4 8TB8 ? 9EB9 8EB 8TB ? 4GiB 8TB 4GB 1TB
Maximum volume size 16EB 2-8TB4,7 ? ? 2TB to 32TB4 2TB to 32TB4 16TB ? 9EB9 512TB to 4PB4 ? ? 2TiB13 8TB 1TB 1TB
  Features
File type metadata None
(file extensions)
None
(file extensions)
rich (type and creator) rich (type and creator) rich (extended attributes) rich (extended attributes) rich (extended attributes) meta-files (not done/stable) rich (extended attributes) rich (extended attributes) rich (extended attributes) rich rich (extended attributes) rich (extended attributes) rich (extended attributes) rich (extended attributes) 17
Stores file owner Yes No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes14 Yes Yes Yes
POSIX file permissions No5 No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No Yes ? Yes
Access control lists Yes No No No Yes Yes Yes No Yes Yes Yes No No Yes Yes Yes
Hard links Yes No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No Yes No Yes
Soft links No No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No Yes ? Yes18
Alternate data stream / resource fork Yes No No Yes No No No Not yet No No No No No Yes19 No No
Journaling Yes No No Yes No Yes Yes Yes Yes Yes No Yes No Yes No Yes
Case-sensitive No No Yes Yes Yes Yes Yes Yes Yes (optionally no on IRIX) Yes (AIX and Linux) / No (OS/2, Linux mount option) Yes Yes No Yes20 Yes20 No
Case-preserving Yes No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes20 Yes20 Yes
File system: NTFS FAT32 Mac OS X UFS HFS+ ext2 ext3 ReiserFS V3 Reiser4 XFS JFS FFS Be File System HPFS NSS NWFS ODS-5

Notes

1 Older versions of HFS only supported 31 character filenames; some older applications don't work well with names longer than this.

2 HFS+ mandates support for an escape sequence to allow arbitrary Unicode. Users of older software might see the escape sequences instead of the desired characters.

3 An OS might impose its own limit on the length of absolute pathnames, but unlimited nesting depth can be obtained using relative pathnames.

4 Depending on block/cluster size.

5 NTFS access control lists can express essentially any access policy possible using simple POSIX file permissions, but use of a POSIX-like interface is not supported without an add-on such as Services for UNIX or Cygwin.

6 Often shipped along with widely-used add-on offering this feature

7 While FAT32 partitions this large work fine once created, some software won't allow creation of FAT32 partitions larger than 32GB. This includes, notoriously, the Windows XP installation program.

8 ReiserFS has a theoretical maximum file size of 1EB, but "page cache limits this to 8 Ti on architectures with 32 bit int"[1]

9 XFS has a limitation under Linux 2.4 of 64 TB file size and 2 TB file system size. This limitation is not present under IRIX.

10 Microsoft first introduced FAT32 in Windows 95 OSR2 (OEM Service Release 2) and then later in Windows 98.

11 JFS originated on AIX and was completely rewritten for OS/2. The Linux filesystem was based on the OS/2 version.

12 The on-disc structures have no inherent limit. Particular Installable File System drivers and operating systems may impose limits of their own, however.

13 This is the limit of the on-disc structures. The HPFS Installable File System driver for OS/2 uses the top 5 bits for its own use, limiting the volume size that it can handle to 64GiB.

14 The f-node contains a field for a user identifier. This is not used except by OS/2 Warp Server, however.

15 Maximum combined filename / filetype length is 236 bytes; each component has an individual maximum length of 255 byes.

16 Maximum pathname length is 4096 bytes, but quoted limits on individual components add up to 1664 bytes.

17 Record Management Services (RMS) attributes include record type and size, among many others.

18 These are referred to as 'aliases'.

19 Novell calls this feature "multiple data streams".

20 Case-sensitivity/Preservation depends on client. Windows, DOS, and OS/2 clients don't see/keep Case differences, whereas clients accessing via NFS or AFP do.

See also