Installing the Filesystem
When doing a fresh install there is generall very little that you need to do
in regard to installing a filesystem. Most of the work is done for you.
All you really need to do is choose the filesystem(s) you want to use.
However, for many people (newbies and experienced users alike), which file
system to choose it not always clear-cut.
In the section on supported filesystems, we talk about
some of the various filesystem types and what things to consider when choosing
one over the other.
If you expect that you are going to have a large number of files on your
systems (like hundreds of thousands or millions), then you will need to increase
the number of inodes. Basically, inodes are pointers to the data on the disk,
as well as contain information about the file such as the file owner, permissions
and so on. In most cases, you are limited by the number of inodes which are
created when the filesystem is created. Once you run out, you need to either
move the files to another filesystem, or backup the data, recreate the filesystem
then restore the tape. Both are sometimes not possible. Keep in mind,
however, that for most home users, the defult number of inodes
is usually enough.In the section on the disk layout
we talk about inodes in detail.
Generically, filesystems are created using using the mkfs
command. One of the options it takes is the filesystem type. The basically
tells mkfs to start the real program which then creates the filesystem.
For example, the mke2fs is called when create an ext2fs.
mkfs, you typically have few options. So if you need to specify the
number of inodes, you will need to start the real program by hand. In
the case of the ext2fs, you can use the