/dev/fd/7 reference?

Jeremy C. Reed reed at reedmedia.net
Wed Nov 22 17:39:40 UTC 2006


> Recently installed spamd on a clear FreeBSD 6.1
> 
> Spamd works fine until I turn on greylisting and then I get the following
> error:
> 
> pfctl: /dev/fd/7: No such file or directory
> 
> Found a reference to the error with the following advice/solution:
> 
> "You have to mount a fdescfs(5) filesystem in order to get this working."
> 
> The problem is I don't know how to do this.  Took a few stabs using
> mount_fdescfs but I clearly don't know what the heck I'm doing on this one.
> 
> Any help greatly appreciated.

If you used the spamd port, it should have gave the following message:


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
In order to use spamd greylisting feature you have to have a mounted fdescfs(5)
at /dev/fd.  This is done by adding:

        fdescfs /dev/fd fdescfs rw 0 0

to /etc/fstab.  You may need either a customised kernel, or kldload the 
fdescfs kernel module.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

If you need more details, let us know.

Jeremy C. Reed

p.s. This is also covered for FreeBSD in ISBN #0-9790342-0-5.


More information about the freebsd-pf mailing list