DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-11-26 19:34:23

puterboy
Member
Registered: 2008-09-18
Posts: 306

nfsd.sh script (or modprobe.conf) should mnt /proc/fs/nfsd filesyste

I noticed that the /proc/fs/nfsd filesystem is not being mounted.
This causes problems with exportfs not working properly. Specifically, exportfs -u does not let the kernel know that a volume has been unexported meaning that the containing partition still is marked as busy.

I know that on my regular linux system, this is done in modprobe.d/modprobe.conf via:
install nfsd /sbin/modprobe --first-time --ignore-install nfsd && { /bin/mount -t nfsd nfsd /proc/fs/nfsd > /dev/null 2>&1 || :; }
remove nfsd { /bin/umount /proc/fs/nfsd > /dev/null 2>&1 || :; } ; /sbin/modprobe -r --first-time --ignore-remove nfsd

However the ffp version of modprobe doesn't seem to understand --first-time or --ignore-install. Also, not everyone here uses modules.

So maybe best to add the following line the nfsd.sh script (before you start nfsd):

mount | grep -q "nfsd on /proc/fs/nfsd type nfsd" || mount -t nfsd nfsd /proc/fs/nfsd

Offline

 

#2 2008-11-26 20:00:03

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: nfsd.sh script (or modprobe.conf) should mnt /proc/fs/nfsd filesyste

ok, thanks

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB