From owner-freebsd-current Tue Dec 24 12:14:57 2002 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 DEF8D37B401 for ; Tue, 24 Dec 2002 12:14:55 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FC9F43EC2 for ; Tue, 24 Dec 2002 12:14:55 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.6/8.12.6) with ESMTP id gBOKEwa7014803; Tue, 24 Dec 2002 15:14:58 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.6/8.12.6/Submit) id gBOKEvhw014802; Tue, 24 Dec 2002 15:14:57 -0500 (EST) Date: Tue, 24 Dec 2002 15:14:57 -0500 From: Craig Rodrigues To: "Geoffrey T. Falk" Cc: current@freebsd.org Subject: Re: Cannot open "/dev/ad0" on -CURRENT Message-ID: <20021224151457.A14735@attbi.com> References: <20021224133110.A14309@attbi.com> <200212241934.gBOJYFbx003524@h68-144-29-132.cg.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200212241934.gBOJYFbx003524@h68-144-29-132.cg.shawcable.net>; from gtf@cirp.org on Tue, Dec 24, 2002 at 12:34:15PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Dec 24, 2002 at 12:34:15PM -0700, Geoffrey T. Falk wrote: > On 24 Dec, Craig Rodrigues wrote: > > I wrote the attached program to open "/dev/ad0". > > > > It consistently fails with: > > fd: -1 > > Error: : Operation not permitted > > > At what securelevel are you running? % sysctl -n kern.securelevel kern.securelevel: -1 Well, this wouldn't explain why I could open /dev/da0 but not /dev/ad0. Thanks. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message