search for: mode_extlinux

Displaying 3 results from an estimated 3 matches for "mode_extlinux".

2010 Jul 28
1
syslinux-4.02-6-ge841d69 build failure
...withprefix include -I. -I.. -I../libfat -I ../libinstaller -I ../libinstaller/getopt -D__MSDOS__ -c -o syslxopt.o ../libinstaller/syslxopt.c cc1: warnings being treated as errors ../libinstaller/syslxopt.c: In function 'usage': ../libinstaller/syslxopt.c:117: error: enumeration value 'MODE_EXTLINUX' not handled in switch make[1]: *** [syslxopt.o] Error 1 Sebastian
2014 Dec 24
0
[PATCH 1/8] extlinux/main.c: support unmounted ext2/3/4 filesystem
...quot;%s: install file to device error!\n", program); + close(devfd); + return 1; + } + fs_type = EXT2; } sync(); @@ -1533,16 +1560,25 @@ int modify_existing_adv(const char *path) int main(int argc, char *argv[]) { parse_options(argc, argv, MODE_EXTLINUX); + struct stat st; if (!opt.directory || opt.install_mbr || opt.activate_partition) usage(EX_USAGE, 0); + if (stat(opt.directory, &st)) { + fprintf(stderr, "%s: %s: %s\n", program, opt.directory, strerror(errno)); + return 1; + } + if (opt.updat...
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
Hello syslinux, Merry Christmas! These patches will make extlinux work with umounted ext2/3/4 filesystem, for example: $ extlinux -i /dev/sdXN or $ extlinux -i file_block Also it can work with something like: $ extlinux /dev/sdXN --reset-adv or $ extlinux file_block --reset-adv We don't use a new option (I planed to use "-d" but it is already in use), it will check whether the