Ask a question »

FSTAB: Adding spaces in the mount point path

September 2015

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.

FSTAB: Adding spaces in the mount point path




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.

Solution


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
For unlimited offline reading, you can download this article for free in PDF format:
Fstab-adding-spaces-in-the-mount-point-path.pdf

See also

In the same category

Published by deri58. - Latest update by Celia Gatward
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.