[Coco] DriveWire 4 seg fault under Linux Mint...

Tormod Volden lists.tormod at gmail.com
Sun Nov 16 17:40:59 EST 2014


On Thu, Nov 13, 2014 at 10:48 PM, Tormod Volden wrote:
> On Thu, Nov 13, 2014 at 10:23 PM, Aaron Wolfe wrote:
>> On Nov 13, 2014 4:01 PM, "Tormod Volden" wrote:
>>>
>>
>>> >
>>> > That's not as bad as the "files must be sized to sanely match sector
>> size"
>>> > issue.. DW only reads and writes sectors so what should it so with a
>> file
>>> > that doesn't align to sectors?  Refuse to serve up the incomplete
>> sector,
>>> > or pad it with zeros, make it read only, ?  The current model is all
>> about
>>> > the sectors, no mechanisms for communicating to the coco whether we
>> have a
>>> > full sector or not so it can't make the call on thst side as needed.
>>>
>>> Padding any incomplete sector with zeroes is the most straight-forward
>>> behaviour IMO. It won't change anything for existing full-sector use.
>>> For writing there is no issue, because OP_WRITEX always needs a full
>>> sector and the client can provide that.

Hi Aaron,

I just discovered this piece of information:
http://sourceforge.net/p/drivewireserver/wiki/Using_DriveWire/#use-with-cocoboot
which documents a DiskPadPartialSectors option so it seems you already
support this.

Also the NamedObjectDir and NamedObjectSyncFromSource options seem very useful.

Thanks,
Tormod


More information about the Coco mailing list