sramtrc@windy.dsir.govt.nz (12/19/90)
I want a command that, given the special file of a MacOS filesystem, mounts that filesystem. Eg mount /dev/ramdisk or mount /dev/dsk/c0d0s30. (Naturally this is while MacOS is running under A/UX). Can someone tell me how to write it? I can presently do it using some skulduggery. Boot A/UX and before running mac32 link the special file to /dev/floppy0. Now the device to be mounted is called /dev/floppy0 and when mac32 is run it gets mounted. Too much skulduggery, of course, because I now have no floppy drive. Using /dev/floppy1 doesn't work because it doesn't get mounted, presumably cos it was not present at MacOS boot time. Another way to mount devices when mac32 is running is to use, say, SCSIProbe (it takes some skulduggery to get that running). It scans the SCSI bus and mounts any drives it finds. It loads a driver off the drive and uses that driver (provided it's 32 bit clean) but this is a pure MacOS process and I don't see how UNIX special files can be mounted this way. So a UNIX approach is required. I suspect that this may be a tricky request because something similar came up a while ago when discussing remounting SyQuest drives. Someone from Apple said that it couldn't be done. But maybe with the right software it can be done. I'm sure it can be done because the /dev/floppy0 skulduggery can do it. Any ideas? Thanks, Tony Cooper sramtrc@albert.dsir.govt.nz Even an INIT that tricks MacOS into thing that floppy drive 2 is alive when the machine is first booted into MacOS will help. That lets me use /dev/floppy1 and even though it uses skulduggery it lets me use /dev/floppy0 as a floppy.