devfs and jails

2004-05-12 Thread Chad Leigh -- Shire.Net LLC
Hi This is on 5.2-CURRENT I want to apply devfs rules to a jails /dev. I am starting my jails manually and not through rc.conf (directly -- I have written my own rc script to start my jails since I have a bunch of file system stuff like mounting some localhost nfs and some md device mounts

Re: devfs and jails

2004-05-12 Thread Chad Leigh -- Shire.Net LLC
On May 12, 2004, at 3:37 PM, Chad Leigh -- Shire.Net LLC wrote: Hi This is on 5.2-CURRENT I want to apply devfs rules to a jails /dev. I am starting my jails manually and not through rc.conf (directly -- I have written my own rc script to start my jails since I have a bunch of file system

Re: devfs and jails

2004-05-12 Thread Chad Leigh -- Shire.Net LLC
if this is exactly correct but the following did work for me (anything less would not seem to apply the devfs rules) devfs_rulesets_from_file /etc/defaults/devfs.rules devfs_domount /jails/host/dev devfsrules_jail devfs_set_ruleset devfsrules_jail /jails/host/dev /sbin/devfs -m /jails/host/dev rule -s 4