This is the mail archive of the cygwin mailing list for the Cygwin project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The problem I have is I want to share 2 drives from my Windows machine to my
Linux machines. On my Linux machine (kernel 2.6.13, nfs 1.0.6), when I mount
the two drives I am exporting, the two mount points show the same content. I
am using Cygwin 1.5.19. I followed the instructions here
http://www.csparks.com/CygwinNFS/index.xml to set-up Cygwin.
Here are the relevant info/parts of configuration files.
From Cygwin:
$ mount
d:\Program Files\NX Client for Windows\usr\X11R6\lib\X11\fonts
on /mnt/NX/fonts
type user (textmode)
C:\Documents and Settings\Charles Nadeau\.nx\temp on /tmp type user
(textmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /mnt/c type system (binmode)
e: on /mnt/e type system (binmode)
d: on /cygdrive/d type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)
m: on /cygdrive/m type system (binmode,noumount)
x: on /cygdrive/x type system (binmode,noumount)
y: on /cygdrive/y type system (binmode,noumount)
$ cat /etc/exports
/mnt/c 192.168.0.0/255.255.255.0(ro, no_root_squash, async)
/mnt/e 192.168.0.0/255.255.255.0(ro, no_root_squash, async)
$ cat /etc/hosts.allow
nfsd: 192.168.0.0/255.255.255.0
On the Linux side:
cat /etc/fstab
192.168.0.3:/mnt/c /charles/diskboxc nfs
nfsvers=2,timeo=14,ro,intr
192.168.0.3:/mnt/e /charles/diskbox nfs
nfsvers=2,timeo=14,ro,intr
I think I set up eveything fine. I noticed the problem because whenever I
do "ls /charles/diskbox", I get the content of /charles/diskboxc.
Doing "ls /charles/diskboxc" returns the right result.
Thanks for your help!
Charles
Attachment:
cygcheck.out
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |