More information around access modes for specific drivers.

This commit is contained in:
R. Bernstein
2010-01-18 03:39:33 -05:00
parent fa897e85b9
commit 9c96d2c448
4 changed files with 16 additions and 12 deletions

View File

@@ -2137,18 +2137,22 @@ really access modes and should probably be redone/rethought. They are
just different ways to run the read command. But for completeness
These are ``READ_CD'' and ``READ_10''.
Writing/burning to a drive is supported via access modes
@code{MMC_RDWR_EXCL} or @code{MMC_RDWR}.
@node Microsoft
@section Microsoft Windows ioctl and ASPI
There are two CD drive access methods on Microsoft Windows platforms:
ioctl and ASPI.
The ASPI interface specification was developed by Adaptec for
sending commands to a SCSI host adapter (such as those controlling CD
and DVD drives) and used on Window 9x/NT and later. Emulation for
ATAPI drives was added so that the same sets of commands worked those
even though the drives might not be SCSI nor might there even be a
SCSI controller attached.
The ASPI interface specification was developed by Adaptec for sending
commands to a SCSI host adapter (such as those controlling CD and DVD
drives) and used on Window 9x/NT and later. Emulation for ATAPI drives
was added so that the same sets of commands worked those even though
the drives might not be SCSI nor might there even be a SCSI controller
attached. The DLL is not part of Microsoft Windows and has to be
downloaded and installed separately.
However in Windows NT/2K/XP, Microsoft provides their Win32 ioctl
interface, and has taken steps to make using ASPI more inaccessible
@@ -2167,12 +2171,13 @@ one needs to have root access for ATAPI.
@node FreeBSD
@section FreeBSD ioctl and CAM
There are two CD drive access methods on Solaris: ioctl and CAM
There are two classes of access methods on Solaris: ioctl and CAM
(common access method). CAM is preferred when possible, especially on
newer releases. However CAM is right now sort of a hybrid and includes
some ioctl code.
More work on this driver is needed. Volunteers?
Writing/burning to a drive is supported via access modes
@code{MMC_RDWR_EXCL} or @code{MMC_RDWR} which underneath use CAM access.
@node OS X
@section OS X (non-exclusive access)

View File

@@ -1,5 +1,6 @@
/*
Copyright (C) 2005, 2006, 2007, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
Rocky Bernstein <rocky@gnu.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@@ -1,6 +1,4 @@
/*
$Id: aix.c,v 1.3 2008/04/22 15:29:11 karl Exp $
Copyright (C) 2004, 2005, 2006, 2008, 2010 Rocky Bernstein <rocky@gnu.org>
This program is free software: you can redistribute it and/or modify

View File

@@ -1,6 +1,6 @@
/*
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2008, 2009
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010
Rocky Bernstein <rocky@gnu.org>
This program is free software: you can redistribute it and/or modify