RE: Problem creating device files

2006-06-21 Thread Nicolas Boudin
> You are making invalid assumptions. Have a look into > /usr/include/cygwin/types.h and /usr/include/sys/sysmacros.h > and see the light. After that, make a mental note: > > "Never create a device number other than by using the makedev macro" OK, thank you. :) Now that I am enlightened I wi

Problem creating device files

2006-06-21 Thread Nicolas Boudin
Hello, I get strange results when trying to create device files with this program: #include int main (void) { int major, minor; dev_t dev; major = 5; minor = 1; dev = (major << 8) | minor; mknod ("test", S_IFCHR | 0666, dev); return 0;

RE: Problems with NFS server

2006-06-21 Thread Nicolas Boudin
Hello, > - If I'm understanding you correctly, it seems like your server.map > didn't get created properly. For the administrator uid and > gid entries, > there should definitely be a mapping of id '0' to the > appropriate cygwin > system administrator uid/gid. You can find these using 'id

RE: compile linux kernel in cygwin

2006-06-19 Thread Nicolas Boudin
> hi all > > is it possible to compile linux kernel in cygwin > if so where i can find step by step procedure for that. > > Thanks in advance > Hulge Hello, Yes, it is possible. The procedure is not different than the normal one. I am successfully compiling it with an ARM cross-compiler withou

RE: Problems with NFS server

2006-06-19 Thread Nicolas Boudin
> Could you please try adding a map_static directive to your exports? > It should then look something like this: > > /usr/src/buildroot-20060308/build_arm/root > 172.16.7.65(rw,map_static=/etc/nfs/server.map,no_root_squash) > > If you ran the nfs-server-config script to set up the > nfs-ser

RE: Problems with NFS server

2006-06-15 Thread Nicolas Boudin
> -Original Message- > From: Sam Robb > Sent: donderdag 15 juni 2006 19:54 > To: Nicolas Boudin > Cc: cygwin@cygwin.com > Subject: Re: Problems with NFS server > > > On Thu, 2006-06-15 at 15:36 +0200, Nicolas Boudin wrote: > > Hello, > > >

Problems with NFS server

2006-06-15 Thread Nicolas Boudin
Hello, I am trying to export via NFS a cygwin directory as a root filesystem for an embedded Linux system (I hope it can work..), but I get problems. I installed the NFS services properly on Windows XP (nfsd, portmap, mountd). As indicated in the install script, they are running as an user tha