Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-29-2005, 01:36 PM   #1
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,

//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...

//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?


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

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671

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 03:28 PM.


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

All times are GMT -5. The time now is 12:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration