Linux OS’s file systems: ext3 is standard

Ubuntu logo: It is made up of a custom designed font (wordmark), carefully spaced with a re-drawn ‘Circle of Friends’ placed within a roundel.

Ubuntu logo: It is made up of a custom designed font (wordmark), carefully spaced with a re-drawn ‘Circle of Friends’ placed within a roundel.

Ubuntu is one of the popular free Linux computer operating systems.  I was curious about what computer disk file formats Linux operating systems use, and I find the explanation on this web page:  A quick quote is that ext3 is “ the standard linux file system for many years: best choice for super-standard installation.”  I also learn from this article that Linux cannot be installed on the NTFS file system, that is the default Windows OS file system format.  The common Apple Mac OS X file system is Mac OS X Extended (Journaled).

“… the most common file systems in use with the Linux world: Fat16, Fat32, ext2, ext3, ext4, XFS”

“NTFS-3g is installed by default in Ubuntu, allowing Read/Write support”

I quote the entire article below.

Introduction to File systems

File systems are one of the things any newcomer to linux must become acquainted with. In the world of Microsoft you never really have to worry about it, the default being NTFS. Linux however, being built on a world of open source and differing opinions, is not limited in this way and so the user should have an understanding of what a file system is, and how it affects the computer. 

At the core of a computer, it’s all 1s and 0s, but the organization of that data is not quite as simple. A bit is a 1 or a 0, a byte is composed of 8 bits, a kilobyte is 1024 (i.e. 2^10) bytes, a megabyte is 1024 kilobytes and so on and so forth. All these bits and bytes are permanently stored on a Hard Drive. A hard drive stores all your data, any time you save a file, you’re writing thousands of 1s and 0s to a metallic disc, changing the magnetic properties that can later be read as 1 or 0. There is so much data on a hard drive that there has to be some way to organize it, like a library of books and the old card drawers that indexed all of them, without that index, we’d be lost. Libraries, for the most part, use the Dewey Decimal System to organize their books, but there exist other systems to do so, none of which have attained the same fame as Mr. Dewey’s invention. File systems are the same way. The ones most users are aware of are the ones Windows uses, the vFat or the NTFS systems, these are the Windows default file systems. 

There are several different attributes which are necessary in defining file systems, these include their max file size, max partition size, whether they journal or not. 


A journaling file system is more reliable when it comes to data storage. Journaling file systems do not necessarily prevent corruption, but they do prevent inconsistency and are much faster at file system checks than non-journaled file systems. If a power failure happens while you are saving a file, the save will not complete and you end up with corrupted data and an inconsistent file system. Instead of actually writing directly to the part of the disk where the file is stored, a journaling file system first writes it to another part of the hard drive and notes the necessary changes to a log, then in the background it goes through each entry to the journal and begins to complete the task, and when the task is complete, it checks it off on the list. Thus the file system is always in a consistent state (the file got saved, the journal reports it as not completely saved, or the journal is inconsistent (but can be rebuilt from the file system)). Some journaling file systems can prevent corruption as well by writing data twice. 

Editing Files

Those used to a Windows file system (NTFS, FAT) know that it isn’t normally possible to change files while they are open. This restriction does not exist in a Unix file system. This is because in Unix file systems, files are indexed by a number, called the inode, and each inode has several attributes associated with it, like permissions, name, etc. When you delete a file, what really happens is the inode is unlinked from the filename, but if some other program is using the file, it still has a link open to the OS, and will continue to be updated. A file is not really deleted until all links have been removed (even then, the data is still on the disk, but not indexed in anyway and thus very hard to recover). All of this means that you can delete executing programs while they’re running without crashing and move files before they’re finished downloading without corruption. 


Another common Windows practice that is not needed in Unix is defragmenting the hard drive. When NTFS and FAT write files to the hard drive, they don’t always keep pieces (known as blocks) of files together. Therefore, to maintain the performance of the computer, the hard drive needs to be “defragged” every once in a while. This is unnecessary on Unix File systems due to the way it was designed. When ext3 was developed, it was coded so that it would keep blocks of files together or at least near each other. 

No true defragmenting tools exist for the ext3 file system, but tools for defragmenting will be included with the ext4 file system.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s