Slitaz 4.0 stable
Recently I've been playing a bit with NFS on RaspberryPi (Wheezy), Slitaz-ARM and a laptop withv4.0.
In my setup a raspberry pi is acting as the server hosting a USB drive.
All works fine after mounting the shares but then I attempted to take it one step further i.e. mounting nfs shares at boot. Apparently nobody has ever tried this because the implementation is broken on all slitaz versions.
Running the NFS daemons is a prerequisite to mount nfs shares but networking is still not initialized when /etc/fstab is processed. As a result, there is no way you will be able to mount anything nfs. Where fstab is checked in my Bootlog it says:
mount: RPC: Unable to send; errno = Network is unreachable
mount: mounting rpi:/usb1 on /usb1 failed: Bad file descriptor
We need to edit /etc/init.d/rcS to fix this problem. The fix is to add another mount command near the end of the file. For v4.0 this seems to be rather time critical. It works only when I put the mount after the "Welcome to your box" message. I have attached modified versions for v4.0 stable and Slitaz-RaspberryPi. The latter is named rcSmod.
/emgi
EDIT: @#$%^ I thought it would be possible to at least upload these simple plain text files but alas. Thus far I have never been able to upload anything here and it is becoming a nuisance. Perhaps time to get this fixed?
Anyway; In case anyone wants these files, just leave a reply and I will make them available.