[perl] sysopen(CD, "/dev/cd0", O_RDONLY | O_NONBLOCK) fails
Rehbein
tobias.rehbein at web.de
Fri Mar 27 13:04:18 PDT 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090327/870c9d91/attachment.pgp
More information about the freebsd-questions
mailing list