From owner-freebsd-current@FreeBSD.ORG Thu Nov 18 17:18:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14D9516A4EC for ; Thu, 18 Nov 2004 17:18:58 +0000 (GMT) Received: from av9-1-sn4.m-sp.skanova.net (av9-1-sn4.m-sp.skanova.net [81.228.10.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2F8543D53 for ; Thu, 18 Nov 2004 17:18:57 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: by av9-1-sn4.m-sp.skanova.net (Postfix, from userid 502) id 288093805E; Thu, 18 Nov 2004 18:18:57 +0100 (CET) Received: from smtp2-1-sn4.m-sp.skanova.net (smtp2-1-sn4.m-sp.skanova.net [81.228.10.183]) by av9-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id 19BFB37E69; Thu, 18 Nov 2004 18:18:57 +0100 (CET) Received: from sentinel (h130n1fls11o822.telia.com [213.64.66.130]) by smtp2-1-sn4.m-sp.skanova.net (Postfix) with ESMTP id ED81737E47; Thu, 18 Nov 2004 18:18:56 +0100 (CET) From: "Daniel Eriksson" To: "'Poul-Henning Kamp'" , Date: Thu, 18 Nov 2004 18:18:51 +0100 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <38192.1100388485@critter.freebsd.dk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTJ2QAZlsZiMv9WQxWk4PcPSMqLPwDuSTIg Subject: DEVFS problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 17:18:58 -0000 With a system compiled from sources from yesterday (2004.11.17.12.00.00), hiding and unhiding devfs devices does not work. Normally I do something like this to only expose the devices I really want in the chroot/jail environment: mount_devfs devfs /some/path/dev devfs -m /some/path/dev rule apply hide devfs -m /some/path/dev rule apply path null unhide devfs -m /some/path/dev rule apply path zero unhide devfs -m /some/path/dev rule apply path random unhide With recent CURRENT, the devfs rules results in this error message: devfs rule: ioctl DEVFSIO_RAPPLY: Inappropriate ioctl for device Am I doing something wrong, or has a bug crept into the code? /Daniel Eriksson