/*
This tiny program makes it easier to mount the Fast File System on a Xebec
hard disk.  For some reason, you can't successfully Mount a Xebec disk
partition with FFS unless you first either Mount a Slow File System
partition, or run this little program.  It returns 10 if it fails, which
probably means it can't find devs:scsi.device.

You can mount DH0: by first giving the command "Scum" and then "Mount DH0:".
I have no idea why this program is either necessary or sufficient.

By Paul Kienitz, public domain.
*/


#include <devices/trackdisk.h>

char quest[sizeof(struct IOExtTD)];

long OpenDevice();

long _main()
{
    if (!OpenDevice("scsi.device", 0L, quest, 0L)) {
	CloseDevice(quest);
	return (0L);
    } else
	return (10L);
}
