[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-kern
Subject:    Re: libsa and 4K devices
From:       mlelstv () serpens ! de (Michael van Elst)
Date:       2022-04-23 22:01:23
Message-ID: t41svj$8fa$1 () serpens ! de
[Download RAW message or body]

mlelstv@serpens.de (Michael van Elst) writes:


>- The copied filesystem code in libsa uses absolute disk offsets
>  in bytes to locate superblocks. A backend that uses physical blocks
>  cannot easily address such offsets if it doesn't know the block
>  size.
>  The filesystem code deduces this as fsize >> fsbtodb, but both
>  values are only available after reading the superblock.

Here is a patch for stand/efiboot and libsa that lets it handle
large sectors for ffs,lfs,ext2fs,minix3fs.

http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/efiboot.patch


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic