can I expext rename() to function for TSFS with VxSim on windows?

VxWorks

    Sponsored Links

    Next

  • 1. How Can I change IP(with subnetmask and gatewayip)? After shutdown DHCP Client?
    Hi Seniors? I've got a some problem for IP Infomation Change. When I started my system, dhcp client was running for getting ip info. All process was ok for getting ip infomation with dhcp. Now, System are running with dhcpc. At this point, I want to stop dhcp Client and set system ip address manually. So I called dhcpcShutdown() and I called system call like this.. --------------------------------------------- ifRouteDelete(pDevice, 0); ipDetach(0, pDevice); ipAttach(0, pDevice); ifMaskSet(interfaceName, nm); ifAddrSet(interfaceName, ipaddress); routeAdd(interfaceName, gatewayip); --------------------------------------------- Ip setting is OK, But system can't communicate with other system. I think Changing IP routine has no problem even if it is simple. I found when I call dhcpcShutdown, arp table values are erased. There was no arp table entry after calling dhcpcClinet(). What can I do when I have this problem? I want to stop My DHCP Client And Set Network Information(IP,NETMASK,GATEWAY) on the fly... Maybe It has some problem for ARP. Please give me some help.. Regards, Wook
  • 2. Network Q sizes
    Group, When I do an 'inetstatShow' command I get current Recv-Q and Send-Q sizes. I want to know what are the Q size limits. I work with several processor boards and I have seen some max-out at 16384 and others at 4096. I want to know if there is some VxWorks data structure I can examine to let me know the maximum queue size, so I can determine what percentage of the queue is being used at any given time. Thanks, Chris
  • 3. [VxW] help--issue about compiling
    Hi, when I compile vxWorks.st_rom.bin I found something wrong, it's Ok when I compile vxWorks.st however. anyone knows how to deal with? error message: ========================== -I /fbapi/include -I /fwboot -I /fwcode/include -I / -I. -IC:\Tornado\target\ config\all -IC:\Tornado\target/h -IC:\Tornado\target/src/config -IC:\Tornado\tar get/src/drv -DCPU=MIPS64 -DMIPSEB -Wcomment -D_VXWORKS -DCPU_BE -DBE -P -xassembler-with-cpp -c -o romInit.o romInit.s C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cciqaaaa.s: Assembler messages: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cciqaaaa.s:5090: Error: absolute expression required `li' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cciqaaaa.s:5100: Error: absolute expression required `li' make: *** [romInit.o] Error 0x1 Best Regards Tommy ----------------------------------- Tel:+86 512 6252 7009 ext.1697 E-mail: XXXX@XXXXX.COM XXXX@XXXXX.COM -----------------------------------
  • 4. File write retrun error while send data over network
    Hi all , I have an application running on VxWorks 5.4 and MPC8260 , but it sometimes reports error . The application reads in some data then sends to some clients , meanwhile it will store the data into hard-disk . The sockets work with non-block mode . I find if sending data to net failed ( error = 0xd0003 or ) sometimes , fwrite() will also return wrong value , it cant write all the data . errnoGet() only returns the network error code , not file's . Can any tell me why ? How it happens ? Thanks

can I expext rename() to function for TSFS with VxSim on windows?

Postby adam.at.prisma » Fri, 30 Nov 2007 01:51:32 GMT

Hi folks,

I am setting up the file system so that /tgtsvr directory points to a
directory on my PC when I run VxSim. No matter what I set the file
permissions to, I cannot rename the file without getting ERROR and
EACCESS.

Is this supposed to work, or is there something wrong with my PC
workstation? rename() does not work for netDrv and nfsDrv according to
the FAQ, but does this apply to passFs as well?

br,
Adam


Return to VxWorks

 

Who is online

Users browsing this forum: No registered users and 90 guest