Re: Mounting a samba share via fstab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 10 January 2008 03:55:43 pm Daniel B. Thurman wrote:
> On Thursday 10 January 2008 03:36:59 pm Craig White wrote:
> > On Thu, 2008-01-10 at 15:26 -0800, Dan Thurman wrote:
> > > On Thursday 10 January 2008 02:24:56 pm Daniel B. Thurman wrote:
> > > > I have read many google threads and cannot seem to figure this one
> > > > out. What I did:
> > > > 1) mkdir /media/Music_A-F
> > > > 2) chmod 0777 /media/Music_A-F
> > > > 3) Edited /etc/fstab and added entry (broken up below but single
> > > > line): //server/share/Music%20A-F
> > > >     <TAB>/mnt/share/Music_A-F
> > > >     <TAB>cifs
> > > >     <TAB>nosuid,nodev,noexec,
> > > >                 username=user,password=passwd,uid=500,
> > > >                 gid=500,file_mode=0664,dir_mode=0755
> > > >      <TAB>0 0
> > > > 4) mount -a
> > > >      (No errors reported)
> > > > 5) ls -ld /media/Music_A-F
> > > >     d????????? ? ?    ?        ?                ? Music-AF
> > > > 6) ls /media/Music_A-F
> > > >     ls: cannot access Music-AF: No such file or directory
> > > > 7) umount /media/Music_A-F
> > > >     (No errors reported)
> > > > 8) ls /media/Music_A-F
> > > >     (no errors reported, listed empty directory)
> > > > Anything I am missing?
> > > > Thanks-
> > > > --
> > >
> > > I discovered the problem.  It is that %20 (space) that is not
> > > recognized and causes the mount to blow up.  Can someone tell me how to
> > > add spaces in the string: //server/share/Music%20A-F ?  What I want is:
> > > //server/share/Music A-F/
> >
> > ----
> > enclose in double quotes - omit trailing slash
> > "//server/share/Music A-F"
> > Craig
>
> That does not work.  Mount complains :
> +  mount -a
> [mntent]: line 9 in /etc/fstab is bad
> Any ideas?

OK - I finally got it.  Replace all spaces with \040 and you are good to go.

Sorry to bother-
Dan



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux