Glen Barber writes:

>  > 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."
>  >
>  
>  I may be wrong, but shouldn't that be '/dev/acd0' ?

        /dev/cd0 = SCSI CD-ROM (and maybe other stuff).

        I don't know if that's what the OP has, but it is a possible
value.


                                Robert Huff

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to