search for: ldlinux_sector

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

Did you mean: ldlinux_sectors
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
...ect-1-2, sector_size); /* ADV pointers */ advptrs = ptr(boot_image, &epa->advptroffset); diff --git a/linux/syslinux.c b/linux/syslinux.c index 4b13b7f..22983f9 100755 --- a/linux/syslinux.c +++ b/linux/syslinux.c @@ -444,7 +444,7 @@ int main(int argc, char *argv[]) */ ldlinux_sectors += 2; /* 2 ADV sectors */ sectors = calloc(ldlinux_sectors, sizeof *sectors); - if (sectmap(fd, sectors, ldlinux_sectors)) { + if (sectmap(fd, sectors, ldlinux_sectors, SECTOR_SIZE)) { perror("bmap"); exit(1); } @@ -463,7 +463,7 @@ umount: * Patch ldlinux.sys an...
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512. Currently it fixes extlinux, MBR for GPT and ext partitions. Other code is unaffected. This set of patches has been tested on a read Dell machine running a beta firmware.
2010 Jun 19
0
[PATCH] mtools/syslinux.c: Silence warnings
...ull before using it. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- diff --git a/mtools/syslinux.c b/mtools/syslinux.c index 2b82b33..3307833 100644 --- a/mtools/syslinux.c +++ b/mtools/syslinux.c @@ -142,6 +142,7 @@ int main(int argc, char *argv[]) const char *errmsg; int ldlinux_sectors, patch_sectors; int i; + int ret; int force = 0; /* -f (force) option */ int stupid = 0; /* -s (stupid) option */ @@ -240,7 +241,7 @@ int main(int argc, char *argv[]) } /* This command may fail legitimately */ - system("mattrib -h -r -s...