From owner-freebsd-current Sat Feb 3 9:31:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 4340F37B4EC for ; Sat, 3 Feb 2001 09:31:39 -0800 (PST) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f13HTL960996; Sat, 3 Feb 2001 10:29:21 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200102031729.f13HTL960996@harmony.village.org> To: Jordan Hubbard Subject: Re: DEVFS newbie... Cc: Poul-Henning Kamp , John Indra , freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Sat, 03 Feb 2001 01:18:08 PST." <82167.981191888@winston.osd.bsdi.com> References: <82167.981191888@winston.osd.bsdi.com> Date: Sat, 03 Feb 2001 10:29:21 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <82167.981191888@winston.osd.bsdi.com> Jordan Hubbard writes: : Couldn't you also do "mount -t devfs -o nonewdev devfs /home/jail/dev" : and then cd /home/jail/dev ; rm $devices_i_dont_want_in_my_jails ? It : seems that "read my lips: no new devices" should be an option you can : set from the very initial mount so that people can't also figure out : how to get root, remove a /dev entry and replace it with one of their : own. Come to think of it, there should also be a -o staticdev option : to disallow *any* changes after the initial mount. That would make : some of our more paranoid sysadmins happy. My concern is that I usually know what devices I want (/dev/null, /dev/zero, /dev/tty). That makes it harder to delete all of them not on the list. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message