“The /etc/fstab file gives you control over what filesystems are
mounted at startup on your Linux system, including Windows
partitions and network shares. You can also use it to control the
mount points of removable storage devices like USB sticks and
external hard disks. Akkana Peck shows us how.“/etc/fstab — it’s there on every Linux computer, controlling
which filesystems get mounted where.“Its manual page, man fstab, begins with this snippet:
“fstab is only read by programs, and not written; it is the duty
of the system administrator to properly create and maintain this
file.“Fortunately, they’re fibbing. These days fstab is usually
created for you by an installer or other program. So don’t get too
worried about your “duty”.“However, if you want to delve into fstab, it’s easy to
understand and modify.”
Controlling Your Linux System With fstab
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis