LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2014, 11:27 AM   #1
ravivarmaninfo
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
Mount NFS Share on Cygwin SSHD Startup


I am mounting NFS Share in cygwin as Mapped Network Drive("Z:\") and mounting "Z:\" to cygwin directory

i could able to do that using the following steps

Step 1: /cygdrive/c/Windows/System32/mount.exe -o -u: -p: 10.x.x.x:/home/cloud/Shared_Workspace Z:\

Step 2: mount -f Z:/ /workspace/

i want these commands to be executed during cygwin sshd service start up

Please advise
 
Old 02-11-2014, 12:02 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
i believe what you are looking for is the startup script for cygwin.
this is not related to sshd

if you add commands to the following file they will be executed during cygwin startup
~/.bash_profile
this full path for this file could be:
C:\cygwin\home\CPJ\.bash_profile
 
  


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
[SOLVED] NFS Client Unable to Mount the NFS Share devUnix Linux - Server 8 09-12-2019 10:53 AM
nfs mount in windows7 through cygwin Rajkumar_h Linux - Newbie 2 02-18-2013 03:52 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 09:03 AM
Can't mount nfs share from fstab but can mount it manually - help Mountain Linux - Networking 1 03-30-2008 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:17 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