Platform: QNX 6.2.0 (NC) x86
It seems that default enumerator doesn’t have PCMCIA memory card configs,
so I tried to write one down:
driver(devb-eide, “eide ioport=0x$(ioport):0x$(ioport)+12,irq=$(irq),noslave disk name=pcmem”)
#mount("-t dos /dev/pcmem0t1 /fs/pcmem0","-f /fs/pcmem0")
The above file plopped into oem/ worked nicely
creating /dev/pcmem0, /dev/pcmem0t block devices on insertion,
but how can I setup automount/unmount “correctly”?
The commented-out waitfor()/mount() clause will mount the card alright,
but when (physically!) ejecting the card, umount works but
devb-eide fails to terminate. (will die on manual slay afterwards)
I know mount() clause is for io-audio/io-net and not for generic
filesystem mount manipulation, but is there any method to
neatly use these memory cards?
(At least you want to tell enum-devices that I’m going to eject the card
before physically ejecting it…)