11.01.2015 Views

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 25. An Introduction to Disk Partitions<br />

order out of the empty space in an unformatted drive.<br />

Figure 2<strong>5.2</strong>. Disk Drive with a File System<br />

As Figure 2<strong>5.2</strong>, “Disk Drive with a File System”, implies, the order imposed by a file system<br />

involves some trade-offs:<br />

• A small percentage of the drive's available space is used to store file system-related data and<br />

can be considered as overhead.<br />

• A file system splits the remaining space into small, consistently-sized segments. For <strong>Linux</strong>,<br />

these segments are known as blocks. 1<br />

Given that file systems make things like directories and files possible, these trade-offs are<br />

usually seen as a small price to pay.<br />

It is also worth noting that there is no single, universal file system. As Figure 25.3, “Disk Drive<br />

with a Different File System”, shows, a disk drive may have one of many different file systems<br />

written on it. As you might guess, different file systems tend to be in<strong>com</strong>patible; that is, an<br />

operating system that supports one file system (or a handful of related file system types) may<br />

not support another. This last statement is not a hard-and-fast rule, however. For example, <strong>Red</strong><br />

<strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> supports a wide variety of file systems (including many <strong>com</strong>monly used by<br />

other operating systems), making data interchange between different file systems easy.<br />

Figure 25.3. Disk Drive with a Different File System<br />

Of course, writing a file system to disk is only the beginning. The goal of this process is to<br />

actually store and retrieve data. Let us take a look at our drive after some files have been<br />

written to it.<br />

1 Blocks really are consistently sized, unlike our illustrations. Keep in mind, also, that an average disk drive contains<br />

thousands of blocks. But for the purposes of this discussion, please ignore these minor discrepancies.<br />

254

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!