Port-mips archive

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

Re: ews4800mips ramdisk out of bounds



On Sun, Jun 14, 2020 at 07:40:31PM +0900, Izumi Tsutsui wrote:
> It's not ramdisk.fs embedded to RAMDISK kernel but
> compressed RAMDISK kernel embedded into bootloader,
> so my recent commits may help.

Duh, I always confuse those two.

> Is it also worth to print an actual "fs image" filename in
> error paths of mdsetimage(8)?

Yes please!

> For proplib, it looks the only user is src/sbin/fsck/partutil.c
> (I'm not sure what's "MD_MAY_SWAP_TO" option in sysinst though)
> so it might be possible to have pre-proplib (without DIOCGDISKINFO)
> version in src/distrib/x_fsck etc.
>  https://mail-index.netbsd.org/source-changes/2009/06/05/msg221973.html
>  https://mail-index.netbsd.org/source-changes/2009/06/05/msg221973.html

That is used to avoid swap partitions on SD cards for evbarm mostly - I'll
have a look at somthing that could be easily libhack'd (or #ifndef SMALL'd).

Martin


Home | Main Index | Thread Index | Old Index