From a417328c103fb00701f4b437f5b58f1857828433 Mon Sep 17 00:00:00 2001 From: hpa Date: Fri, 20 Feb 1998 22:35:47 +0000 Subject: [PATCH] Bug fix to syslinux.c; documentation update --- NEWS | 3 +++ README | 4 ++-- TODO | 2 ++ syslinux.c | 5 +++-- syslinux.doc | 8 ++++---- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index 18fa502..37abb0b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +Changes in 1.33: + * Bug fix in the Linux installer. + Changes in 1.32: * FAT16 filesystems are now supported. diff --git a/README b/README index 80c8873..c4be7f5 100644 --- a/README +++ b/README @@ -12,6 +12,6 @@ for details. WARNING: There seems to be a bug in some recent experimental Linux kernels that causes floppy disk corruption when using the Linux -syslinux installer. This bug was introduced in 2.1.79 or 2.1.80; as -of 2.1.86 the bug is still there. +syslinux installer. This bug exists in kernels 2.1.79-2.1.86; as far +as I know it was fixed in 2.1.87. diff --git a/TODO b/TODO index 3c05d9e..37c71ce 100644 --- a/TODO +++ b/TODO @@ -4,6 +4,8 @@ Currently scheduled for inclusion in 1.40: - "Comboot" style boot files. - Booting DOS for a DOS/Linux dual rescue disk. - Cleaned up documentation, with a real man page. +- Boot ELKS, if at all possible (may have problems with i386 + assumption.) For a later release, perhaps: diff --git a/syslinux.c b/syslinux.c index 8874d48..4b837e7 100644 --- a/syslinux.c +++ b/syslinux.c @@ -287,9 +287,10 @@ int main(int argc, char *argv[]) } else if ( f == 0 ) { if ( S_ISREG(st.st_mode) ) execl(_PATH_MOUNT, _PATH_MOUNT, "-t", "msdos", "-o", "loop", "-w", - device, mntpath); + device, mntpath, NULL); else - execl(_PATH_MOUNT, _PATH_MOUNT, "-t", "msdos", "-w", device, mntpath); + execl(_PATH_MOUNT, _PATH_MOUNT, "-t", "msdos", "-w", device, mntpath, + NULL); _exit(255); /* execl failed */ } } diff --git a/syslinux.doc b/syslinux.doc index ff6a5b7..2beb117 100644 --- a/syslinux.doc +++ b/syslinux.doc @@ -1,6 +1,6 @@ SYSLINUX - Version 1.31 - February 13, 1998 + Version 1.33 + February 20, 1998 A bootloader for Linux using MS-DOS floppies @@ -48,8 +48,8 @@ LDLINUX.SYS into its root directory. WARNING: There seems to be a bug in some recent experimental Linux kernels that causes floppy disk corruption when using the - Linux syslinux installer. This bug was introduced in 2.1.79 - or 2.1.80; as of 2.1.86 the bug is still there. + Linux syslinux installer. This bug exists in kernels + 2.1.79-2.1.86; as far as I know the bug is fixed in 2.1.87. On boot time, by default, the kernel will be loaded from the image named LINUX on the boot floppy. This default can be changed, see the section -- 2.7.4