FSTAB: Adding spaces in the mount point path

August 2016

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

See also :

This document entitled « FSTAB: Adding spaces in the mount point path » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.