[syslinux] [PATCH 1/1] core: Check if ldlinux.sys exceeds the limit at its building time.

Paulo Alcantara pcacjr at zytor.com
Mon May 26 13:44:56 PDT 2014


Hi Genec,

On Sun, May 25, 2014 11:27 am, Gene Cumm wrote:

> Raphael/Paulo: does UFS2 have a hard 64kiB limit?  I know it's not
> installed to the first sector where the first superblock is located.

I have no much experience with UFS2 filesystem. I've just took a quick
look at its internals and I can see that UFS2 places its superblock at
either 64KiB or 256KiB (depending on the media being used).

I haven't found any code that tries to read superblock from 256KiB, but
I'm not sure if we can rely on it being always at 64KiB.

>> IMNSHO is including core/ldlinux_limit.pl better
>> than waiting for a better core/ldlinux_limit.pl
>
> This should be rendered obsolete and unnecessary with the recent patch for
> ldlinux.sys on btrfs (but might be relevant for UFS2).

Agreed. IMHO, I would use this script for the UFS2 case - since UFS2
superblock is _not_ placed in a fixed offset like btrfs is. There wouldn't
be room enough for Syslinux when the superblock is in 64KiB instead of
256KiB, for example.

Raphael, as you're certainly more experienced with UFS2 than me, what do
you think?

-- 
Paulo Alcantara, C.E.S.A.R
Speaking for myself only.


More information about the Syslinux mailing list