LILO is the Linux boot loader. It includes combined boot sector, generic chain loader, map installer, and a simple boot partition setter. LILO allows booting from multiple disks, and can have menus for choosing different boot images. LILO is also able to pass command-line options to the Linux kernel. LILO does not depend on a specific file system, can boot Linux kernel images from floppy disks and from hard disks, and can even act as a "boot manager" for other operating systems. LILO should be ran whenever any part of the system that it knows about changes, e.g. after installing a new kernel.
16 lines
477 B
Text
16 lines
477 B
Text
$NetBSD: patch-ac,v 1.1.1.1 2008/03/08 00:46:23 reed Exp $
|
|
|
|
--- geometry.c.orig 2003-10-10 14:43:13.000000000 -0700
|
|
+++ geometry.c
|
|
@@ -99,6 +99,11 @@ struct evms_version_t {
|
|
#define HDIO_GETGEO HDIO_REQ
|
|
#endif
|
|
|
|
+/* Linux 2.6 compatibility */
|
|
+#undef _IOR
|
|
+#undef _IOWR
|
|
+#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
|
|
+#define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
|
|
|
|
typedef struct _st_buf {
|
|
struct _st_buf *next;
|