Red Hat Bugzilla – Bug 167683
automount does not understand '//host/share', just '\/\/host/share' with CIFS and SMBFS
Last modified: 2007-11-30 17:11:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050719 Fedora/1.7.10-1.3.1
Description of problem:
automount does not understand //hostname in its config files, which is needed by mount.cifs and mount.smbfs
I found a "solution", but I don't like it:
use \/\/hostname in /etc/auto.misc file
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. put following line in /etc/auto.misc file:
share -fstype=cifs //HOST/SHARE
(of course, I hope that you have host HOST with share SHARE and you can make
mount -t cifs //HOST/SHARE /misc/share)
2. ls /misc/share
Actual Results: in /var/log/messages:
automount: mount(generic): failed to mount (type cifs) on /misc/share/HOST/share
Expected Results: //HOST/SHARE mounted in /misc/share
Same results with -fstype=smb
I don't know how is it connected with bug No.127801?
And 2nd, should I create another bug report for
"automount: handle_packet_missing: path to be mounted is to long"
When I name mountpoint in auto.misc with cyrillic letters (KOI8-R)?
This looks different from 127801. I'll post this upstream, to see what the
As for the cyrillic letters, please file a separate bug. Thank you!
Instead of using \/\/, I think you can do ://HOST/SHARE. Could you try this,
and let me know if it a) works, and b) is an acceptable solution for you?
Sorry, that was a my bug:
man 5 autofs:
If the filesystem to be mounted begins with a / (such as
local /dev entries or smbfs shares) a : needs to be prefixed (e.g.
But somewhere in docs I've read that : before share designates LOCAL mount,
instead of remote (network)