Using /etc/rc.d/devfs from command-line

From: Jeremie Le Hen <jeremie_at_le-hen.org>
Date: Thu, 22 Feb 2007 00:11:08 +0100
Hi,

The attached patch allows to provide arguments to rc.d/devfs with
the same syntax as $devfs_set_rulesets.  This is then easier to mount
manually devfs inside a directory and apply some predefined rulesets
on it.  Before this patch you had to manually apply rules to the
devfs mount point, provided pre-configured rulesets had been loaded
into the kernel (with rc.subr's devfs_init_rulesets()).

Example:
% mount_devfs none /space/chroot/dev
% /etc/rc.d/devfs start /space/chroot/dev=devfsrules_jail

Best regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >

Received on Wed Feb 21 2007 - 22:09:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC