Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2009 21:04:22 +0100
From:      Rehbein <tobias.rehbein@web.de>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        Tobias@freebsd.org, freebsd-questions@freebsd.org, Vincent Hoffman <vince@unsane.co.uk>
Subject:   Re: [perl] sysopen(CD, "/dev/cd0", O_RDONLY | O_NONBLOCK) fails
Message-ID:  <20090327200422.GA69272@sushi.pseudo.local>
In-Reply-To: <20090327194655.32d52f27@gluon.draftnet>
References:  <20090326212045.GB3134@sushi.pseudo.local> <200903271132.58872.mel.flynn+fbsd.questions@mailing.thruhere.net> <49CCADF7.5040902@unsane.co.uk> <20090327194655.32d52f27@gluon.draftnet>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--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--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090327200422.GA69272>