Den 2011-10-26 21:11:50 skrev Eelco Dolstra <[email protected]>: > Hi, > > On 10/15/2011 11:01 PM, Nicolas Pierron wrote: > >> + if [ "$fsType" = "nfs" ]; then >> + nfsmount "$device" "/mnt-root$mountPoint" && break >> + else >> + mount -t "$fsType" -o "$options" "$device" >> "/mnt-root$mountPoint" && break > > Why is a special program needed for doing NFS mounts?
I was the one who submitted this patch to NixOS. I don't know why a special program is needed. I didn't manage to get it to work with a plain "mount -t nfs", and since nfsmount (from klibc) is used in the initrd of other distributions (like ArchLinux, and maybe Ubuntu?) I tried it and it worked fine. However, now that my environment is a bit more stable, I could try to investigate exactly why "mount" failed. / Rickard _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
