MAKEDEV creates one more bpf device than requested. In addition, "all" creates bpf0 4 times, bpf1 3 times and bpf2 twice. "tun" and "tap" have similar problems. Fix: See the appended context diff. (Note that now "./MAKEDEV bpf0" creates no devices.) ============================================================================== How-To-Repeat: mkdir /tmp/dev cd /tmp/dev /dev/MAKEDEV bpf2 ls (note three bpf's: bpf0, bpf1 and bpf2)
Responsible Changed From-To: freebsd-i386->freebsd-bugs This is not i386-specific.
State Changed From-To: open->suspended MAKEDEV now only exists on 4.X. It is unlikely that anyone will be maintaining it further; however, leave this as 'suspended' in case there is some interest.
State Changed From-To: suspended->closed All supported -stable and development branches use devfs now. So close this PR since it doesn't apply anymore and interested parties can have a look at closed PR's too. Closing this PR results in less PR's to look at when a committer is in a "lets fix a PR"-mood. Additionally, this isn't a problem. It may be an annoyance, but it doesn't justifies a PR someone has to look at periodically.