FSTAB: Adding spaces in the mount point path

October 2017

File System table or FSTAB refers to system configurations which are usually used on a Linux environment. Sometimes users may have problems with adding spaces in mouth point path. This mainly happens because here various options are separated by a space. To get rid of this problem, one has to type "0/040" instead of space in the configurations. After that, adding spaces in mouth point path should not be an issue.


Since the various options in / etc / fstab are separated by spaces, it is not possible to put spaces in the path of the mount point.


This limitation is easily bypassed by typing "\ 040" instead of a space in the configuration file.
  • Example:

/dev/sda1 /mnt/first\040disk ext3 options 0 0

This simply means that we mount /dev/sda1 on /mnt/first disk
Published by deri58. Latest update on March 9, 2012 at 05:52 AM by Celia Gatward.
This document, titled "FSTAB: Adding spaces in the mount point path," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).