Fixed the last remaining autoMount override holdouts; the new way for a page to prevent a machine from autoMount'ing a diskette in a drive is to explicitly list that drive with a diskette 'name' property of "None"; the old syntax ("autoMount: ''") was a kludge, because it was using an empty string ('') as a way of defining an empty autoMount object, and there was no way to disable autoMount'ing for just one drive.

This commit is contained in:
Jeff Parsons 2017-06-20 10:55:28 -07:00 committed by Jeff Parsons
commit 5a92c57acd
3 changed files with 18 additions and 6 deletions

View file

@ -10,7 +10,11 @@ machines:
debugger: true
config: /devices/pcx86/machine/5170/ega/2048kb/rev3/debugger/machine.xml
drives: '[{name:"20Mb Hard Disk",type:2,path:"http://archive.pcjs.org/disks/pcx86/fixed/20mb/IBMOS210-EGA.json"}]'
automount: ''
automount:
A:
name: None
B:
name: None
---
Just for fun (because I have a warped sense of fun), I decided to revisit some of the old OS/2 software I wrote