diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-08-27 00:14:01 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-08-27 00:14:01 -0300 |
commit | ff0f66c534f9f5d0c042c3eaf48bd7e52d94fa34 (patch) | |
tree | 7c3fdf2181d458cb3240db19b4585ba16489642c /libre/grub/i2o.patch | |
parent | 4030033fc8102f13912a8262b940c0ede2d5e710 (diff) | |
download | abslibre-ff0f66c534f9f5d0c042c3eaf48bd7e52d94fa34.tar.gz abslibre-ff0f66c534f9f5d0c042c3eaf48bd7e52d94fa34.tar.bz2 abslibre-ff0f66c534f9f5d0c042c3eaf48bd7e52d94fa34.zip |
grub-0.97-21.4: changing folder name on abslibre
Diffstat (limited to 'libre/grub/i2o.patch')
-rw-r--r-- | libre/grub/i2o.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/libre/grub/i2o.patch b/libre/grub/i2o.patch deleted file mode 100644 index 2af846c90..000000000 --- a/libre/grub/i2o.patch +++ /dev/null @@ -1,45 +0,0 @@ -Only in grub-0.94/docs: grub.info -Only in grub-0.94/docs: multiboot.info -diff -ur grub-0.94/lib/device.c grub-0.94.new/lib/device.c ---- grub-0.94/lib/device.c 2004-05-07 04:50:36.375238696 +0200 -+++ grub-0.94.new/lib/device.c 2004-05-07 04:48:57.611253104 +0200 -@@ -419,6 +419,12 @@ - { - sprintf (name, "/dev/rd/c%dd%d", controller, drive); - } -+ -+static void -+get_i2o_disk_name (char *name, int unit) -+{ -+ sprintf (name, "/dev/i2o/hd%c", unit + 'a'); -+} - #endif - - /* Check if DEVICE can be read. If an error occurs, return zero, -@@ -789,6 +795,26 @@ - } - } - } -+ -+ /* I2O disks. */ -+ for (i = 0; i < 8; i++) -+ { -+ char name[16]; -+ -+ get_i2o_disk_name (name, i); -+ if (check_device (name)) -+ { -+ (*map)[num_hd + 0x80] = strdup (name); -+ assert ((*map)[num_hd + 0x80]); -+ -+ /* If the device map file is opened, write the map. */ -+ if (fp) -+ fprintf (fp, "(hd%d)\t%s\n", num_hd, name); -+ -+ num_hd++; -+ } -+ } -+ - #endif /* __linux__ */ - - /* OK, close the device map file if opened. */ |