LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-30-2006, 01:29 PM   #1
magnum81
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

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

Rep: Reputation: 30
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, 01:39 PM   #3
fraz
Member
 
Registered: Nov 2004
Location: Edinburgh, Scotland
Distribution: Ubuntu
Posts: 148

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.

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


Reply


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 08:39 PM
Bind folder problem DanielTan Linux - Software 20 09-27-2005 06:35 PM
Firefox XBL Bind/No .phoenix folder Ryknow215 Linux - Software 3 03-24-2004 10:05 PM
accessing folder with 'space' in the name kushalkoolwal Linux - Newbie 2 03-11-2004 02:43 AM
Calculate the space of a folder Half_Elf Linux - General 4 05-18-2003 07:53 PM


All times are GMT -5. The time now is 09:37 AM.

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