search for: sectmap_fib

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

Did you mean: sectmap_fie
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
...->fe_logical / sector_size); + sec = fe->fe_physical / sector_size; + nsec = fe->fe_length / sector_size; while (nsec--) { if (secp >= esec) @@ -249,7 +247,7 @@ static int sectmap_fie(int fd, sector_t *sectors, int nsectors) } /* Legacy FIBMAP based mapping */ -static int sectmap_fib(int fd, sector_t *sectors, int nsectors) +static int sectmap_fib(int fd, sector_t *sectors, int nsectors, unsigned sector_size) { unsigned int blk, nblk; unsigned int i; @@ -261,7 +259,9 @@ static int sectmap_fib(int fd, sector_t *sectors, int nsectors) return -1; /* Number of s...
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.
2011 Apr 15
0
[GIT PULL] syslinux command-line
...inux boot sector found\n", program); close(devfd); diff --git a/libinstaller/syslxcom.c b/libinstaller/syslxcom.c index b176f6d..1de85aa 100644 --- a/libinstaller/syslxcom.c +++ b/libinstaller/syslxcom.c @@ -284,3 +284,16 @@ int sectmap(int fd, sector_t *sectors, int nsectors) return sectmap_fib(fd, sectors, nsectors); } + +/* + * SYSLINUX installs the string 'SYSLINUX' at offset 3 in the boot + * sector; this is consistent with FAT filesystems. Earlier versions + * would install the string "EXTLINUX" instead, handle both. + */ +int syslinux_already_installed(int dev_fd...