FreeBSD Security Advisories wrote:
> To determine which implementation an NFS server is running, run the
> following command:
> 
> # kldstat -v | grep -cw nfsd
> 
> This will print 1 if the system is running the new NFS implementation,
> and 0 otherwise.

It output "2" on my 9.1-RELEASE-p2 with new NFSD as output of
kldstat -v return two lines containing word 'nfsd':

>  6    1 0xffffffff80c14000 2b38b    nfsd.ko (/boot/kernel/nfsd.ko)
>         Contains modules:
>                 Id Name
>                 202 nfsd

Someone may be confused by non 0/1 result not catched in advisory.

Either
kldstat -v | grep -wc nfsd.ko
or
kldstat | grep -wc nfsd

should be used instead the command recommended in advisory to obtain 0/1
result.

Regards

Dan

_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

Reply via email to