Re: [ES40-developers] Misc Patches
Status: Alpha
Brought to you by:
iamcamiel
From: Hittner, D. T. <dav...@ng...> - 2008-04-29 11:56:52
|
You'll need to provide the removeable media capablility for people to write multiple tapes serially as well. $ BACK/LOG DUA0: MUA0:today.bck/save .... Mount next tape on MUA0: .... $ So you might be thinking more along the lines of CRemovableMedia, rather than CDiskChanger..? Dave > As for removable media: this is something we should start > addressing sometime soon. I'm proposing to handle this in two > possible ways: > > 1) for physical devices (CDiskDevice) we should check with > the OS whether a media change has occurred. > > 2) for non-phisical devices, I'm proposing the introduction > of a new Disk Class (CDiskChanger?) that is both a CDisk and > a CDiskController. > Other disks connect to it, and which disk is active can be > selected through the serial port menu. The DiskChanger class > itself is a simple wrapper around the selected disk's > methods. So you'd have something like this in the config file: > > disk0.0 = changer { > disk 0.0 = {...} > disk 0.1 = {...} > ... > } > |