X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Message-ID: <4D96C9B5.1000506@maas-martin.nl> Date: Sat, 02 Apr 2011 09:01:09 +0200 From: Mark Maas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15pre) Gecko/20110207 Shredder/3.1.9pre MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Mount points using batch file but not with ssh login Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello List, I've been trying to get some network shares mounted in my cygwin environment. Shares that I've already mounted with Windows itself. So I've tried some combo's with "net use" or simple using the "mount.exe" command to get those shares. But I'm not able to get them to function. Which is weird, because they are already there when I start cygwin using the supplied batch file (Command prompt) but not when I login to my localhost ssh server using the same user... When I start Cygwin using the supplied batch file, I get these mount points: [mmaas AT ictwks178 ~]$ id uid=23916(mmaas) gid=10513(Domain Users) groups=10513(Domain Users),545(Users) [mmaas AT ictwks178 ~]$ mount C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) E: on /cygdrive/e type udf (binary,posix=0,user,noumount,auto) H: on /cygdrive/h type ntfs (binary,posix=0,user,noumount,auto) P: on /cygdrive/p type ntfs (binary,posix=0,user,noumount,auto) Q: on /cygdrive/q type ntfs (binary,posix=0,user,noumount,auto) But when I login through ssh on the same machine with the same user, I don't get those mountpoints: [mmaas AT ictwks178 /]$ id uid=23916(mmaas) gid=10513(Domain Users) groups=10513(Domain Users),0(root),544(Administrators),545(Users) [mmaas AT ictwks178 /]$ mount C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) E: on /cygdrive/e type udf (binary,posix=0,user,noumount,auto) I must be missing something very simple here. Does anyone know how I can get those H:. P: and Q: drives in my ssh session? Thank you in advance! Mark -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple