From: Milan Knizek <knizek@volny.cz>
To: autofs@linux.kernel.org
Subject: How to automount hidden Windows share
Date: Thu, 27 Jan 2005 08:16:37 +0000 [thread overview]
Message-ID: <41F8A365.8080808@volny.cz> (raw)
Hello,
I am not sure if this relates to kernel or to autofs, so sorry if I am
wrong. I also tried to google for the problem, but I have found only
questions and no solution.
I use autofs-4.1.3, gentoo-dev-sources kernel 2.6.9 compiled with
automounter v4 on Gentoo. I have problems with automounting hidden
Windows shares - e.g. my /etc/autofs/auto.work includes:
n -fstype=smbfs,users,uid=knizek_m,gid=users,credentials=/etc/samba
/credentials_argon ://ffile01/Home$
My /etc/autofs/auto.master includes:
/mnt/auto.work /etc/autofs/auto.work --timeout=60
When try ls /mnt/auto.work/n, the file does not exist. Syslog reads:
Jan 26 12:18:40 n1005 automount[10417]: failed to mount /mnt/auto.work/n
Jan 26 12:18:40 n1005 automount[10420]: >> Usage: mount.smbfs service
mountpoint [-o options,...]
Jan 26 12:18:40 n1005 automount[10420]: >> Version 3.0.9
... cut on purpose ...
Jan 26 12:18:40 n1005 automount[10420]: mount(generic): failed to mount
"://ffile01/Home" (type smbfs) o
n /mnt/auto.work/n
Jan 26 12:18:40 n1005 automount[10420]: failed to mount /mnt/auto.work/n
I tried to change the line in auto.work to ://ffile01/Home\$ but it did
not help anyway.
When I use fstab or mount manually, it works. Also, mounting normal
Windows shares (not ending with $) and local devices like cdrom and usb
works fine with automount.
Is there other way to go?
Thanks,
Milan
knizek@volny.cz
next reply other threads:[~2005-01-27 8:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-27 8:16 Milan Knizek [this message]
2005-01-27 12:22 ` How to automount hidden Windows share raven
2005-01-27 16:57 ` How to automount hidden Windows share - solved Milan Knizek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41F8A365.8080808@volny.cz \
--to=knizek@volny.cz \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.