/etc/fstab

This wiki page is about a path or a file in the Linux file system. Be bold and improve it! Describe its purpose and its use, which program created it and uses it, which configuration settings it might be dependent on, and which Linux distributions typically have this file by default while others might not.

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

Table of Contents

Configuration file for the file system.

During the boot process, this file is accessed to see which partitions should be automatically mounted.

See commands:
df
mount
umount

/proc

It is no longer necessary to list /proc in /etc/fstab. The boot system will always mount them.
If /proc is listed in your fstab, it is probably a remnant of an older installation and it can be removed.

Android

To find the equivalent of /etc/fstab on Android, search:

#  find / -type f -iname '*fstab*' 2>/dev/null
/vendor/etc/fstab_nodata.qcom
/vendor/etc/fstab.qcom
/system/etc/vold.fstab

See also

https://linux.overshoot.tv/wiki/swap

http://www.linuxfromscratch.org/lfs/view/development/chapter08/fstab.htm...
https://wiki.gentoo.org/wiki/Complete_Handbook/Configuring_the_system#Th...