Ahoyhoy!

Also, sprach Waldemar Brodkorb am Mittwoch, den 31. Januar 2007 um 19:49:
> The reason for that is, we just simply have two NFS implementations.
> One is nfs-server (userland implementation, limit to 2GB filesize)
> the other one is kmod-nfsd and nfs-utils. You will find the correct
> init-script for kmod-nfsd, which you are using, in
> freewrt/branches/freewrt_1_0/package/nfs-utils/files/nfsd.init

Ah, that explains it :)

> It would be nice if you could update your patch :} 

You will find it attached.

> Can you verify if kmod-nfsd and nfs-utils works with bigger than 2
> GB files?

Not before tomorrow, sorry.  I only have a 512 MB USB key attached to
save small amount of data and to act as a destination for ipkg.

But one thing I could try was this on a mounted ext3 fs which is
exported by the router:

,----
| <[EMAIL PROTECTED]>:/mnt/home/smc$ dd if=/dev/zero of=sparsefile count=0 
obs=1 seek=10G
| 0+0 Datensätze ein
| 0+0 Datensätze aus
| 0 bytes transferred in 0,012853 seconds (0 bytes/sec)
| <[EMAIL PROTECTED]>:/mnt/home/smc$ ls
| insgesamt 1
| drwxr-xr-x  2 smc smc        1024 2000-01-01 15:12 musik/
| -rw-rw-r--  1 smc smc 10737418240 2000-01-01 15:16 sparsefile
`----

So it looks like it is working :).

Greetings,

-- 
: Sebastian Fontius : www.fsfe.org : www.fsfe.org/en/fellows/smc
`--------+----------+--------------+-----------------------------------.
    []   | "They that can give up essential liberty to obtain a little |
  [][][] |  temporary safety deserve neither liberty nor safety."      |
    ||   :                       Attributed to Benjamin Franklin, 1759 :
--- nfsd.init   2007-01-19 13:45:54.000000000 +0100
+++ nfsd.init.smc       2007-02-01 20:41:48.456354320 +0100
@@ -8,6 +8,10 @@
        exec $0 start
        ;;
 start)
+       /bin/mkdir -p /var/lib/nfs
+       /bin/touch /var/lib/nfs/{rm,e,x}tab
+       /bin/touch /var/lib/nfs/state && chmod 0600 /var/lib/nfs/state
+       /usr/sbin/exportfs -r
        /usr/sbin/lockd
        /usr/sbin/mountd
        /usr/sbin/nfsd

Attachment: signature.asc
Description: Digital signature

_______________________________________________
freewrt-users mailing list
freewrt-users@freewrt.org
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to