LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 12-29-2005, 02:36 PM   #1
JapanFred
LQ Newbie
 
Registered: Mar 2003
Posts: 27

Rep: Reputation: 15
smbfs, fstab, spaces in the folder i want to mount. Problems!


Hi all,

If i put this in the /etc/fstab,

Code:
//server/Downloads /mnt/SMBFS/Downloads smbfs username=xxxx,password=xxxx
It mounts as it should do all nice and lovely.

However i have another share, which is put into /etc/fstab like so...

Code:
//server/Dean\ Storage /mnt/SMBFS/Storage smbfs username=xxxx,password=xxxx
And it doesn't mount, it says that line is invalid.

Anyone have any ideas?

Thanks,

Dean
 
Old 12-29-2005, 04:27 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
http://linux.about.com/od/commands/l/blcmdl5_fstab.htm

excerpt:
Quote:
The second field, (fs_file), describes the mount point for the filesystem. For swap partitions, this field should be specified as `none'. If the name of the mount point contains spaces these can be escaped as `\040'.
I know this is the second field, and you asked about the first field. The man page for the "mount" command mentions that the ":" character is used as the escape character for vfat entries. Is this a share that you can control? Can you remove/replace the space. I'm suggesting this because having white space characters in directory names is something I regard as a bug.

Last edited by jschiwal; 12-29-2005 at 04:28 PM.
 
  


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
Why fstab doesn't mount smbfs rjkfsm Linux - Newbie 3 12-16-2011 01:23 PM
Delay fstab mount of smbfs during boot Iron City Linux - General 7 01-21-2009 03:58 PM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 04:30 PM
mounting an smbfs share using mount vs /etc/fstab sichen Linux - Networking 4 08-13-2004 07:40 PM
can anyone with rh9 mount multiple shares with smbfs in fstab? Falafel Linux - Networking 2 11-15-2003 09:15 AM


All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
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