On Fri, March 27, 2009 19:59, Tobias Rehbein wrote:
> Am Thu, Mar 26, 2009 at 10:11:28PM + schrieb Bruce Cran:
>>
> Hm. Tried this and got ineresting results:
>
>> use POSIX;
>> sysopen(CD,"/dev/cd0", O_RDONLY|O_NONBLOCK) || perror("sysopen")
> works fine, but
>> use POSIX;
>> sysopen(CD,"/dev/
Am Fri, Mar 27, 2009 at 09:19:53PM +0100 schrieb Joost Bekkers:
> On Fri, March 27, 2009 19:59, Tobias Rehbein wrote:
> > Am Thu, Mar 26, 2009 at 10:11:28PM + schrieb Bruce Cran:
> >>
> > Hm. Tried this and got ineresting results:
> >
> >> use POSIX;
> >> sysopen(CD,"/dev/cd0", O_RDONLY|O_NONBL
Am Fri, Mar 27, 2009 at 07:46:55PM + 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 with
Bruce Cran wrote:
>cd0 is also what you get if you use atapicam (ATAPI is SCSI over ATA
>from what I remember) - for example cdrecord has traditionally used it
No, with CAM on FreeBSD /dev/xpt is opened and then the route to the device is
extablished via the SCSI address.
>when writing CDs. A
On Fri, 27 Mar 2009 10:44:07 +
Vincent Hoffman wrote:
> On 27/3/09 10:32, Mel Flynn wrote:
> > On Thursday 26 March 2009 22:20:45 Tobias Rehbein wrote:
> >
> >> Hi all.
> >>
> >> I have a perl script which seems to work fine under Linux but
> >> fails on FreeBSD. The Problem is the line:
>
Am Thu, Mar 26, 2009 at 10:11:28PM + schrieb Bruce Cran:
>
> sysopen certainly works on FreeBSD:
>
> > perl
> use POSIX;
> sysopen(CD,"/dev/acd0", O_RDONLY|O_NONBLOCK) || perror("sysopen")
>
> and before I fixed the permissions:
>
> > perl
> use POSIX;
> sysopen(CD,"/dev/acd0", O_RDONLY|O_N
On 27/3/09 10:32, Mel Flynn wrote:
> On Thursday 26 March 2009 22:20:45 Tobias Rehbein wrote:
>
>> 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 th
On Thursday 26 March 2009 22:20:45 Tobias Rehbein wrote:
> 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:
>
>
On Thu, 26 Mar 2009 18:17:46 -0400
Robert Huff wrote:
>
> 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 li
On Thu, 26 Mar 2009 22:20:45 +0100
Tobias Rehbein wrote:
> 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:
>
>
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 o
On Thu, Mar 26, 2009 at 5:20 PM, Tobias Rehbein wrote:
> 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:
>
>
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
13 matches
Mail list logo