LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-11-2004, 02:08 PM   #1
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
Problems mounting "My Documents" from /etc/fstab


I am having endless problems with mounting a drive from my XP machine at bootup through fstab. I have used teh following lines in an attempt to get ti to work but everytime I get teh message "bad line in fstab" when I boot. Here are my attempts:

Code:
//xpbox/"My Documents"  /xpbox		smbfs   credentials=/home/paul/.paulonxpboxpwd 0 0

"//xpbox/My Documents"  /xpbox			smbfs   credentials=/home/paul/.paulonxpboxpwd 0 0

//xpbox/My\ Documents  /xpbox			smbfs   credentials=/home/paul/.paulonxpboxpwd 0 0
What should the correct syntax be?

Thanks
p.n

Last edited by paul.nel; 02-11-2004 at 02:09 PM.
 
Old 02-11-2004, 02:40 PM   #2
jazernorth
Member
 
Registered: Jan 2004
Location: Green Bay
Distribution: RedHat 8.0, LFS-5.0
Posts: 100

Rep: Reputation: 15
I don't know if this will work, but try
Code:
//xpbox/mydocu~1   .....
 
Old 02-11-2004, 03:03 PM   #3
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
Can you mount it manually?
 
Old 02-12-2004, 12:20 AM   #4
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Original Poster
Rep: Reputation: 15
Yip, I mount it manually using "//xpbox/My Documents" This works fine, but fstab seems to not like it.

p.n
 
Old 02-12-2004, 07:08 PM   #5
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
after you mount it manually, what's the corresponding line in /etc/mtab look like?
 
Old 02-14-2004, 12:58 AM   #6
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Original Poster
Rep: Reputation: 15
/etc/mtab shows it as //xpbox/My_Documents. This still does not work in fstab though. I have however solved the problem by changing my share name on my XP box to My_Documents instead of My Documents. Both my SuSE and rh boxes read the share fine during startup now.

Thanks
p.n
 
Old 05-12-2004, 10:40 PM   #7
fatman
Member
 
Registered: Mar 2003
Location: PA
Distribution: Ubuntu (x2)
Posts: 158

Rep: Reputation: 30
the fstab line:

//xpbox/My\040Documents

should work too
 
  


Reply



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
user rights for harddrives, writing only in "My documents"? Tentacle Linux - General 3 12-02-2005 08:54 AM
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
Clearing the"recent documents" jacc_28 Linux - Newbie 4 09-30-2004 09:23 AM
mounting problems "hdb : driver not present" joshuarpf Linux - Newbie 2 07-08-2004 04:28 AM
installing problems: "cannot create mnt/etc/fstab" bullen Slackware 2 08-03-2002 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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