FH_RAWDRIVE.
* devices.shilka (dev_rawdrive_storage): Remove.
(unit_devices): Remove pointer to dev_rawdrive_storage.
(uniq_devices): Remove rawdrive entry.
* dtable.cc (build_fh_pc): Remove DEV_RAWDRIVE_MAJOR case.
* path.cc (win32_device_name): ditto.
const device dev_sdz_storage =
{"/dev/sdz", FH_SDZ, "\\Device\\Harddisk%d\\Partition%d", 1, 15, 400};
-const device dev_rawdrive_storage =
-{"/dev/rawdrive", FH_RAWDRIVE, "\\DosDevices\\%c:", 0, 0, 0, 0};
-
const device dev_bad_storage =
{":bad:", FH_BAD, ":bad:", 0, 0, 0, 0};
#define bad_dev (&dev_bad_storage)
&dev_ttys_storage,
&dev_floppy_storage,
&dev_tcp_storage,
- &dev_rawdrive_storage,
&dev_tape_storage
};
}
}
- case 13:
- if (strncmp (KR_keyword, "/dev/rawdrive", 13) == 0)
- {
-{
-return &dev_rawdrive_storage;
-
-}
- }
- else
- {
-{
-return NULL;
-
-}
- }
case 14:
if (strncmp (KR_keyword, "/dev/clipboard", 14) == 0)
{
FH_CYGDRIVE_A= FHDEV (DEV_CYGDRIVE_MAJOR, 'a'),
FH_CYGDRIVE_Z= FHDEV (DEV_CYGDRIVE_MAJOR, 'z'),
- DEV_RAWDRIVE_MAJOR = 66,
- FH_RAWDRIVE= FHDEV (DEV_RAWDRIVE_MAJOR, 0),
-
DEV_TCP_MAJOR = 30,
FH_TCP = FHDEV (DEV_TCP_MAJOR, 36),
FH_UDP = FHDEV (DEV_TCP_MAJOR, 39),
const device dev_sdz_storage =
{"/dev/sdz", FH_SDZ, "\\Device\\Harddisk%d\\Partition%d", 1, 15, 400};
-const device dev_rawdrive_storage =
-{"/dev/rawdrive", FH_RAWDRIVE, "\\DosDevices\\%c:", 0, 0, 0, 0};
-
const device dev_bad_storage =
{":bad:", FH_BAD, ":bad:", 0, 0, 0, 0};
#define bad_dev (&dev_bad_storage)
&dev_ttys_storage,
&dev_floppy_storage,
&dev_tcp_storage,
- &dev_rawdrive_storage,
&dev_tape_storage
};
"/dev/sdx" = sdx {return &dev_sdx_storage;}
"/dev/sdy" = sdy {return &dev_sdy_storage;}
"/dev/sdz" = sdz {return &dev_sdz_storage;}
-"/dev/rawdrive" = rawdrive {return &dev_rawdrive_storage;}
%other {return NULL;}
%%
void
case DEV_FLOPPY_MAJOR:
case DEV_CDROM_MAJOR:
case DEV_SD_MAJOR:
- case DEV_RAWDRIVE_MAJOR:
fh = cnew (fhandler_dev_floppy) ();
break;
case DEV_TAPE_MAJOR:
case DEV_TAPE_MAJOR:
__small_sprintf (win32_path, dev.fmt, dev.minor % 128);
break;
- case DEV_RAWDRIVE_MAJOR:
- __small_sprintf (win32_path, dev.fmt, dev.minor + 'A');
- break;
case DEV_SD_MAJOR:
__small_sprintf (win32_path, dev.fmt, dev.minor / 16, dev.minor % 16);
break;