Not sure if I'm missing something, but devfs rules weren't being applied
to my jail's devfs. Here's a patch that causes application.
Thanks,
-nick
--
"They that can give up essential liberty
to obtain a little temporary safety
deserve neither liberty nor safety."
Benjamin Franklin
Historical Review of Pennsylvania, 1759
--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="rc.subr.diff"
--- rc.subr.orig Thu Jan 8 16:39:44 2004
+++ rc.subr Thu Jan 8 16:49:30 2004
@@ -1231,6 +1231,7 @@
if [ -n "$rs" ]; then
devfs_init_rulesets
devfs_set_ruleset $rs $devdir
+ devfs_apply_ruleset $rs $devdir
fi
return 0
}
--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"
--5mCyUwZo2JvN/JJP--
*cough* PR bin/61047 *cough*
> Here's a patch that causes application.
That patch does more than necessary -- after you've set_ruleset, you
don't need to call devfs_apply_ruleset; devfs -m $devdir rule applyset
is sufficient.
Colin Percival