1 /* config.h - Configurable parameters
3 * Copyright 1992-1998 Werner Almesberger
4 * Copyright 1999-2006 John Coffman
5 * Copyright 2009-2011 Joachim Wiedorn
8 * Licensed under the terms contained in the file 'COPYING'
9 * in the source directory.
15 /* undefine LCF_DEVMAPPER if the library is not present */
17 # ifndef HAS_LIBDEVMAPPER_H
23 #if !defined(__GLIBC__) || (__GLIBC__ < 2) || \
24 !defined(__GLIBC_MINOR__) || (__GLIBC_MINOR__ < 1)
25 # warning "glibc version 2.1 or later is recommended"
26 #endif /* !__MSDOS__ */
28 #define TMP_DEV "/tmp/dev.%d" /* temporary devices are created here */
29 #define MAX_TMP_DEV 50 /* highest temp. device number */
32 #define LILO_DIR "/etc/lilo" /* base directory for LILO files */
33 #define BACKUP_DIR LILO_DIR /* boot sector and partition table backups */
34 #define DFL_CONFIG LILO_DIR "/config" /* default configuration file */
35 #define DFL_DISKTAB LILO_DIR "/disktab" /* LILO's disk parameter table */
36 #define MAP_FILE LILO_DIR "/map" /* default map file */
37 #define MAP_TMP_APP "~" /* temporary file appendix */
38 #define DFL_BOOT LILO_DIR "/boot.b" /* default boot loader */
39 #define DFL_CHAIN LILO_DIR "/chain.b" /* default chain loader */
40 #define DFL_MBR LILO_DIR "/mbr.b" /* default MBR */
42 #define CFG_DIR "/etc" /* location of configuration files */
43 #define BOOT_DIR "/boot" /* location of boot files */
44 #define BACKUP_DIR BOOT_DIR /* boot sector and partition table backups */
45 #define DFL_CONFIG CFG_DIR "/lilo.conf"/* default configuration file */
46 #define DFL_DISKTAB CFG_DIR "/disktab" /* LILO's disk parameter table */
47 #define MAP_FILE BOOT_DIR "/map" /* default map file */
48 #define MAP_TMP_APP "~" /* temporary file appendix */
49 #define DFL_BOOT BOOT_DIR "/boot.b" /* default boot loader */
50 #define DFL_CHAIN BOOT_DIR "/chain.b" /* default chain loader */
51 #define DFL_MBR BOOT_DIR "/mbr.b" /* default MBR */
52 #define DFL_KEYTAB BOOT_DIR "/us.ktl" /* default keytable */
55 #define DEV_DIR "/dev" /* devices directory (/dev/mem &c.) */
56 #define DEV_DISK_DIR DEV_DIR /* disk devices are here */
57 /* alternate might be "/dev/disk" */
60 #define CFG_DIR "C:\\ETC" /* location of configuration files */
61 #define BOOT_DIR "C:\\BOOT" /* location of boot files */
62 #define BACKUP_DIR BOOT_DIR /* boot sector and partition table backups */
63 #define DFL_CONFIG CFG_DIR "\\LILO.CNF"/* default configuration file */
64 #define MAP_FILE BOOT_DIR "\\MAP" /* default map file */
68 #define MAX_LINE 1024 /* maximum disk parameter table line length */