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%2Bfbsd.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
[-- Attachment #1 --]
Am Fri, Mar 27, 2009 at 07:46:55PM +0000 schrieb Bruce Cran:
>
> From the original message:
>
> "/dev/cd0 is readable and writable for me. I rebooted multiple times and
> tried with and without atapicam."
>
> 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
--
Tobias Rehbein
PGP key: 4F2AE314
server: keys.gnupg.net
fingerprint: ECDA F300 1B6E 9B87 8524 8663 E8B6 3138 4F2A E314
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
iEYEARECAAYFAknNMUQACgkQ6LYxOE8q4xSHuACgrH+aOkM/Qt9TfuwXHAWwxlu5
tkQAoJawTa8GDoLtw5f7uSD6L2z4xTpj
=aQmW
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090327200422.GA69272>
