Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to implement multi-lun usb mass storage driver under mac os 10.1?



Hi --

    Under mac 10.1, whether IOSCSIPeripheralDeviceNub is existence or not?

IOSCSIPeripheralDeviceNub has existed since Public Beta and 10.0.x releases. However, you might be thinking of using IOSCSILogicalUnitNub. IOSCSILogicalUnitNub did not exist in 10.1.x. You'd have to create a similar object which did similar things (basically copy wholesale the IOSCSILogicalUnitNub implementation and change the class name).

     In the IOUSBMassStorageClass source code, i think registerService() is important for every lun. but how can i get lun info to this function?

You'd have to do this how IOSCSILogicalUnitNub does it. It overrides ExecuteRequest() and tags the SCSITask with the LUN information.

-- Chris


------------------

6 Infinite Loop

M/S 306-2MS

Cupertino CA 95014

phone: (408) 974-4033

fax:   (408) 862-7577

email: email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Ata-scsi-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/ata-scsi-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.