How do I specify a label/path with spaces in /etc/fstab? [closed]
You can use the escape sequence \040 to escape spaces: # UNCONFIGURED FSTAB FOR BASE SYSTEM /host/ubuntu/disks/swap.disk none swap sw 0 0 LABEL=Expansion\040Drive /media/Expansion\040Drive ntfs-3g defaults,umask=0022,fmask=0133 0 0 LABEL=Expansion\040Drive_ /media/Expansion\040Drive_ ntfs-3g defaults,umask=0022,fmask=0133 0 0 BTW, you cannot quote part of the string like you mentioned in the question. If you’re quoting, you need to quote … Read more