Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-30-2006, 02:29 PM   #1
LQ Newbie
Registered: Apr 2006
Posts: 13

Rep: Reputation: 0
mount/bind to folder with space in name

I'm trying to mount (in /etc/fstab) a folder which has a space in it's name "/mnt/D/My Music on /mnt/music/first", but mount thinks that "/mnt/D/My" is the mount point and "Music" is the mount folder. It works fine when I change directory to "/mnt/D" and type '$ mount --bind "My Music" /mnt/music/first'. But not with fstab. Here is what my fstab looks like

/mnt/D/My Music/ /mnt/music/first/ bind 0 0
Old 04-30-2006, 02:37 PM   #2
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
The solution is in the man page... I could tell you but you'll feel all warm and fuzzy if you figure it out yourself...
Old 04-30-2006, 02:39 PM   #3
Registered: Nov 2004
Location: Edinburgh, Scotland
Distribution: Ubuntu
Posts: 149

Rep: Reputation: 15
i'm not sure how exactly that would work in fstab but if you prefix the space with a backslash it should work. I know it will from the command line.

/mnt/D/My\ Music/ /mnt/music/first/ bind 0 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
There is no chroot folder in red hat enterprise bind Niceman2005 Linux - Software 2 12-14-2005 09:39 PM
Bind folder problem DanielTan Linux - Software 20 09-27-2005 07:35 PM
Firefox XBL Bind/No .phoenix folder Ryknow215 Linux - Software 3 03-24-2004 11:05 PM
accessing folder with 'space' in the name kushalkoolwal Linux - Newbie 2 03-11-2004 03:43 AM
Calculate the space of a folder Half_Elf Linux - General 4 05-18-2003 08:53 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration