tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libsa and 4K devices



mlelstv%serpens.de@localhost (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




Home | Main Index | Thread Index | Old Index