To permanently mount a filesystem at boot in Linux, an entry must be added to the /etc/fstab file. The mount command only mounts filesystems temporarily until the next reboot.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the `/etc/fstab` file?
Open an interactive chat with Bash
What happens if I make a mistake in the `/etc/fstab` file?
Open an interactive chat with Bash
Are there alternatives to using `/etc/fstab` for mounting filesystems?