Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

NFS fil copy truncated pleas help!

Altera_Forum
Honored Contributor II
1,009 Views

Hello, 

 

I have mounterd an NFS share to my board as: 

 

mnt -t nfs 13.1.143.56:/opt/files /mnt/nfs -n -o nolock 

 

and tried to copy a file that is 5 MBytes into a ram disk mounted at /mnt/ramdisk wich has a capacity for 8MB. 

 

The size of the copy file is always truncated to 4096 

 

How can I get uClinux to copy the entire file? 

 

Please lend me a hand?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
252 Views

I had a similar problem with reading, once I set the Block size to 1k for both r and write the problem went away. 

Let me know if it helps 

 

 

--- Quote Start ---  

originally posted by carlos@Apr 14 2006, 11:15 AM 

hello, 

 

i have mounterd an nfs share to my board as: 

 

mnt -t nfs 13.1.143.56:/opt/files /mnt/nfs -n -o nolock 

 

and tried to copy a file that is 5 mbytes into a ram disk mounted at /mnt/ramdisk wich has a capacity for 8mb. 

 

the size of the copy file is always truncated to 4096 

 

how can i get uclinux to copy the entire file? 

 

please lend me a hand? 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14382) 

--- quote end ---  

 

--- Quote End ---  

0 Kudos
Reply