What Is Fstab?

Fstab is your operating system’s file system table.

This held true for DVDs, CDs, and even floppies (remember those?).

banner

This is where fstab came in, and it was awesome.

Suppose you swapped hard disks on your IDE or SCSI controller.

The computer could load the file systems in a different order, potentially messing things up.

fstab file

The Obvious Options

You’ll notice all of the entries begin with UUIDs.

This doesn’t work when using things like “assembled” or “web link-based” devices.

Here, you’ll find the mount point.

command without sudo

Next is the section which identifies the punch in of file system on the partition.

Many, such as ext2/3/4, ReiserFS, jFS, etc.

are natively read by Linux.

UUIDs

Let’s take a look at them.

These options are separated by a comma and no spaces, and can be put in any order.

If you’re not sure about the defaults, it’s okay to explicitly state your options.

mountpt

This is a pretty much out-dated method of backup for cases when the system went down.

You should leave this as “0”.

The last option is a numeric value for “passing.”

type

The root file system should always be “1” and other file systems can go afterward.

This works best for journaling file systems like ext3/4 and ReiserFS.

Linux Commands

Files

tarpvcattacchmodgrepdiffsedarmanpushdpopdfscktestdiskseqfdpandoccd$PATHawkjoinjqfolduniqjournalctltailstatlsfstabecholesschgrpchownrevlookstringstyperenamezipunzipmountumountinstallfdiskmkfsrmrmdirrsyncdfgpgvinanomkdirdulnpatchconvertrcloneshredsrmscpgzipchattrcutfindumaskwctr

Processes

aliasscreentopnicereniceprogressstracesystemdtmuxchshhistoryatbatchfreewhichdmesgchfnusermodpschrootxargsttypinkylsofvmstattimeoutwallyeskillsleepsudosutimegroupaddusermodgroupslshwshutdownreboothaltpoweroffpasswdlscpucrontabdatebgfgpidofnohuppmap

Networking

netstatpingtracerouteipsswhoisfail2banbmondigfingernmapftpcurlwgetwhowhoamiwiptablesssh-keygenufwarpingfirewalld

options

dump

pass