Hi all.

I have a perl script which seems to work fine under Linux but fails on FreeBSD.
The Problem is the line:

        sysopen(CD, "/dev/cd0", O_RDONLY | O_NONBLOCK)

After this line the following evaluates to true:

        $! eq "No such file or directory."

/dev/cd0 is readable and writable for me. I rebooted multiple times and tried
with and without atapicam. 

        sysopen(CD, "/dev/acd0", O_RDONLY | O_NONBLOCK)

fails either. So what's up here? Is sysopen a linuxism?

Any help is greatly appreciated.

Regards Tobias
-- 
Tobias Rehbein

PGP key:         4F2AE314
    server:      keys.gnupg.net
    fingerprint: ECDA F300 1B6E 9B87 8524  8663 E8B6 3138 4F2A E314

Attachment: pgpDHSp2oVA8o.pgp
Description: PGP signature

Reply via email to