From 7f7eda07801f6723d8b42202703ac0ca3e941458 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 30 Sep 2003 21:03:57 +0000 Subject: * devices.h (enum fh_devices): Remove DEV_RAWDRIVE_MAJOR and 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. --- winsup/cygwin/devices.cc | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'winsup/cygwin/devices.cc') diff --git a/winsup/cygwin/devices.cc b/winsup/cygwin/devices.cc index ce2176ec7..feaf8f0bf 100644 --- a/winsup/cygwin/devices.cc +++ b/winsup/cygwin/devices.cc @@ -210,9 +210,6 @@ const device dev_sdy_storage = 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) @@ -225,7 +222,6 @@ const device *unit_devices[] = &dev_ttys_storage, &dev_floppy_storage, &dev_tcp_storage, - &dev_rawdrive_storage, &dev_tape_storage }; @@ -1137,21 +1133,6 @@ return NULL; } } - 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) { -- cgit v1.2.3