From owner-freebsd-questions@FreeBSD.ORG Fri Mar 27 20:04:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD84E1065672 for ; Fri, 27 Mar 2009 20:04:17 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id 251D18FC39 for ; Fri, 27 Mar 2009 20:04:16 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id DAB95FF13252; Fri, 27 Mar 2009 21:04:15 +0100 (CET) Received: from [95.88.231.222] (helo=sushi.pseudo.local) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #277) id 1LnIHn-0007TK-00; Fri, 27 Mar 2009 21:04:15 +0100 Received: from sushi.pseudo.local (localhost [127.0.0.1]) by sushi.pseudo.local (8.14.3/8.14.3) with ESMTP id n2RK4M56078451; Fri, 27 Mar 2009 21:04:22 +0100 (CET) (envelope-from tobi@sushi.pseudo.local) Received: (from tobi@localhost) by sushi.pseudo.local (8.14.3/8.14.3/Submit) id n2RK4MVt078450; Fri, 27 Mar 2009 21:04:22 +0100 (CET) (envelope-from tobi) Date: Fri, 27 Mar 2009 21:04:22 +0100 From: Rehbein To: Bruce Cran Message-ID: <20090327200422.GA69272@sushi.pseudo.local> Mail-Followup-To: Bruce Cran , Vincent Hoffman , Tobias@freebsd.org, freebsd-questions@freebsd.org References: <20090326212045.GB3134@sushi.pseudo.local> <200903271132.58872.mel.flynn+fbsd.questions@mailing.thruhere.net> <49CCADF7.5040902@unsane.co.uk> <20090327194655.32d52f27@gluon.draftnet> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <20090327194655.32d52f27@gluon.draftnet> User-Agent: Mutt/1.4.2.3i Sender: tobias.rehbein@web.de X-Sender: tobias.rehbein@web.de X-Provags-ID: V01U2FsdGVkX1/8ueToGa9IUE+3rsAc4IShlJirOaZC5JopUkhg ZAyZ/94FMH6wqiLNq6VORuqzvBrdcpoayejRd9gurBFLWaPhzH zQeMg0Q/a6cVD41msNhw== Cc: Tobias@freebsd.org, freebsd-questions@freebsd.org, Vincent Hoffman Subject: Re: [perl] sysopen(CD, "/dev/cd0", O_RDONLY | O_NONBLOCK) fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 20:04:18 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am Fri, Mar 27, 2009 at 07:46:55PM +0000 schrieb Bruce Cran: >=20 > From the original message: >=20 > "/dev/cd0 is readable and writable for me. I rebooted multiple times and > tried with and without atapicam." >=20 > So it sounds like the OP is aware of the different device nodes created > with and without atapicam, has checked he has permission to access the > appropriate device and has come across a problem with perl itself. You are right. Normally I use atapicam and let devfs hide /dev/acd0. As I have written in another message in this thread sysopen actually works,= it's the $! that causes the problems. Tobias --=20 Tobias Rehbein PGP key: 4F2AE314 server: keys.gnupg.net fingerprint: ECDA F300 1B6E 9B87 8524 8663 E8B6 3138 4F2A E314 --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknNMUQACgkQ6LYxOE8q4xSHuACgrH+aOkM/Qt9TfuwXHAWwxlu5 tkQAoJawTa8GDoLtw5f7uSD6L2z4xTpj =aQmW -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--