
Common Commands | 15
Sys Admin
Overview
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Installation
Mail
Managing Filesystems
To Unix systems, a filesystem is a device (such as a partition) that is formatted to
store files. Filesystems can be found on hard drives, floppies, CD-ROMs, USB
drives, or other storage media that permit random access.
The exact format and means by which the files are stored are not important; the
system provides a common interface for all filesystem types that it recognizes. By
default, almost all modern distributions of Linux use a journaling filesystem.
When the kernel interacts with a journalling filesystem, writes to disk are first
written to a log or journal before they are written to disk. This slows down writes
to the filesystem, but reduces the risk of data corruption in the event of a power
outage. It also speeds up reboots after a system unexpectedly loses power.
Most current Linux distributions default to the Third Extended (ext3) Filesystem.
The ext3 filesystem was developed primarily for Linux and supports 256-char-
acter filenames and 4-terabyte maximum filesystem size. This ext3 filesystem is
essentially a Second Extended (ext2) filesystem with an added journal. Since it is
in all other ways identical to the ext2 system, it is both forward- and backward-
compatible with ext2—all ext2 utilities ...