Current-Users archive

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

Re: Second stage bootloader (i386) hangs on ls command for ext2



> If my ext2 partition is hd2e then when I do
>   dev hd2e:
>   ls
> Boot loader hangs.
> 
> >From man page it's not clear if it should support ext2 (as any other
> FS, because there are dosboot, cdboot, etc), but there is some code
> and SUPPORT_EXT2FS for boot2.

The bootloader can load files from ext2fs, but
currently ls command supports only ufs.
/boot calls src/sys/lib/libsa/ufs_ls.c for ls command:
http://nxr.NetBSD.org/xref/src/sys/arch/i386/stand/boot/boot2.c#406

> But it shouldn't hang anyway.

Yes, please file a PR.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index