Prev | Current Page 377 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


Different Linux distributions will set up their fstab file differently. Some don??™t use labels and
many others don??™t use a separate /boot partition by default. They will just have a swap partition
and have all user data under the root partition (/).
Here is what??™s in each field of the fstab file:
 Field 1??”The name of the device representing the file system. This field can include the
LABEL option, with which you can indicate a universally unique identifier (UUID) or volume
label instead of a device name. The advantage to this approach is that because the
partition is identified by volume name, you can move a volume to a different device name
and not have to change the fstab file.
 Field 2??”The mount point in the file system. The file system contains all data from the
mount point down the directory tree structure unless another file system is mounted at
some point beneath it.
 Field 3??”The file system type. Valid file system types are described in the section
???Supported File Systems??? earlier in this chapter.
 Field 4??”Options to the mount command. In the preceding example, the noauto
option prevents the indicated file system from being mounted at boot time, and ro says
to mount the file system read-only (which is reasonable for a CD drive).


Pages:
365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389