# --- ROCK-COPYRIGHT-NOTE-BEGIN --- # # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # Please add additional copyright information _after_ the line containing # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by # the ./scripts/Create-CopyPatch script. Do not edit this copyright text! # # ROCK Linux: rock-src/package/base/mtools/devfs.patch # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # # --- ROCK-COPYRIGHT-NOTE-END --- --- ./floppyd.c.orig Tue Oct 26 14:51:02 1999 +++ ./floppyd.c Tue Oct 26 14:51:48 1999 @@ -894,7 +894,7 @@ } if(!device_name) { - device_name = "/dev/fd0"; + device_name = "/dev/floppy/0"; } if (!device_name || !*device_name) { --- ./devices.c.orig Thu May 11 13:58:15 2000 +++ ./devices.c Thu May 11 14:02:17 2000 @@ -709,12 +709,8 @@ #define predefined_devices struct device devices[] = { - {"/dev/fd0", 'A', 0, O_EXCL, 80,2, 18,0, MDEF_ARG}, - {"/dev/fd1", 'B', 0, O_EXCL, 0,0, 0,0, FDEF_ARG}, - /* we assume that the Zip or Jaz drive is the second on the SCSI bus */ - {"/dev/sdb4",'J', GENHD }, - {"/dev/sdb4",'Z', GENHD }, - /* {"/dev/sda4",'D', GENHD },*/ + {"/dev/floppy/0", 'A', 0, O_EXCL, 80,2, 18,0, MDEF_ARG}, + {"/dev/floppy/1", 'B', 0, O_EXCL, 0,0, 0,0, FDEF_ARG}, REMOTE };