Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Charles Davis
On 4/28/10 11:08 PM, Ken Thomases wrote: > On Apr 28, 2010, at 8:28 PM, Charles Davis wrote: > >> On 4/28/10 5:48 PM, Ken Thomases wrote: >>> On Apr 28, 2010, at 6:18 PM, Charles Davis wrote: >>> Besides, to use it, we'd have to call DADiskMount() directly instead of going through diskut

Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Ken Thomases
On Apr 28, 2010, at 8:28 PM, Charles Davis wrote: > On 4/28/10 5:48 PM, Ken Thomases wrote: >> On Apr 28, 2010, at 6:18 PM, Charles Davis wrote: >> >>> Besides, to use it, we'd have to call DADiskMount() directly instead of >>> going through diskutil. >> >> Huh? Who goes through diskutil? > NTD

Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Charles Davis
On 4/28/10 5:48 PM, Ken Thomases wrote: > On Apr 28, 2010, at 6:18 PM, Charles Davis wrote: > >> Besides, to use it, we'd have to call DADiskMount() directly instead of >> going through diskutil. > > Huh? Who goes through diskutil? NTDLL, when it gets a FSCTL_DISMOUNT_VOLUME. > Who would have t

Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Ken Thomases
On Apr 28, 2010, at 6:18 PM, Charles Davis wrote: > Besides, to use it, we'd have to call DADiskMount() directly instead of > going through diskutil. Huh? Who goes through diskutil? Who would have to call DADiskMount()? And why do you think DADiskMount() is necessary to register approval call

Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Charles Davis
On 4/28/10 5:02 PM, Ken Thomases wrote: > Hi Charles, > > Are the DKIOCPREVENT and DKIOCALLOW ioctls necessary? They were the reason I first wrote the driver. I added DKIOCSCSICOMMAND later. > DiskArbitration already has a facility for clients to refuse > mount/unmount/eject requests. > > http:

Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Ken Thomases
Hi Charles, Are the DKIOCPREVENT and DKIOCALLOW ioctls necessary? DiskArbitration already has a facility for clients to refuse mount/unmount/eject requests. http://developer.apple.com/mac/library/documentation/Darwin/Reference/DiscArbitrationFramework/DiskArbitration_h/ Among other things, if

Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Charles Davis
On 4/28/10 9:35 AM, Charles Davis wrote: > I don't have a public repository yet. My plan is to create a SourceForge > project for this (like AJ suggested). And here it is: http://sourceforge.net/projects/xnu-extras/ Chip

Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Charles Davis
On 4/28/10 2:14 PM, Stefan Dösinger wrote: > > Am 28.04.2010 um 17:35 schrieb Charles Davis: > >> On 4/28/10 4:03 AM, Stefan Dösinger wrote: >>> >>> Am 27.04.2010 um 22:10 schrieb Charles Davis: >>> tar jxf ExtMediaBSDClient.tar.bz2 cd ExtMediaBSDClient >>> Do you have the sourcecode so

Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Stefan Dösinger
Am 28.04.2010 um 17:35 schrieb Charles Davis: > On 4/28/10 4:03 AM, Stefan Dösinger wrote: >> >> Am 27.04.2010 um 22:10 schrieb Charles Davis: >> >>> tar jxf ExtMediaBSDClient.tar.bz2 >>> cd ExtMediaBSDClient >> Do you have the sourcecode somewhere with instructions on how to compile it? > Sure

Re: New SCSI Driver for Mac OS X

2010-04-28 Thread Stefan Dösinger
Am 27.04.2010 um 22:10 schrieb Charles Davis: > tar jxf ExtMediaBSDClient.tar.bz2 > cd ExtMediaBSDClient Do you have the sourcecode somewhere with instructions on how to compile it?

Re: New SCSI Driver for Mac OS X

2010-04-27 Thread Charles Davis
On 4/27/10 8:54 PM, C.W. Betts wrote: > Excuse me, but why is this needed again? What IOCTL is missing in Mac OS X's > native implementation? Do I have to explain everything?! All right. Here goes. Way back in October of last year, I started a discussion on this list about SCSI on Mac OS X: htt

Re: New SCSI Driver for Mac OS X

2010-04-27 Thread C.W. Betts
Excuse me, but why is this needed again? What IOCTL is missing in Mac OS X's native implementation? On Apr 27, 2010, at 2:10 PM, Charles Davis wrote: > Hi, > > A while ago on this list, I was talking about implementing SCSI support > on Mac OS X in Wine, and we all agreed the best way to do that