---
title: Task List
---
# Both
- [ ] prepare a plan for the next 2 weeks
# Chris
- [x] prepare a short walkthrough of setroot() and related functions.
- [ ] write documentation for `findroot()` based on existing documentation.
- [ ] write documentation for `device_register()` (x86, amd64, i386, xen).
- [ ] prepare a list of global variables used by setroot()
- [x] put the scripts directory under version control.
- [ ] prepare a short walkthrough about using ddb(4)
- [ ] figure out why running tests/fs/nullfs/t_basic does not work. ("internal error" from gdb)
no changes to gdb between RC6 and RELEASE
- [ ] learn VScode and how to use share a session.
from 25.5 on.
- [ ] learn about code navigation in VScode.
- does it need LSP?
- can it handle TAGS files?
- what extensions are need.
# Diviyam
- [x] familiarize with shell input/out redirection and piping.
"The UNIX Programming Environment" is good for that.
Also read you shell's manual page for `>&` and `|&`.
- [x] become familiar with script(1)
- saving to a specific file (not just `typescript`)
- [ ] become familiar with less(1)
- options `-r` and `-S` and how to use them from the running program
- searching test. both `/`/`/` and `&`. also `n` and `N` keys.
- [ ] create print_bootinfo() conditional on DEBUG_BOOTINFO c.f [aprint_bootinfo()](https://nxr.netbsd.org/xref/src/sys/arch/x86/x86/x86_machdep.c#176)
should be callable from ddb(4).
compile the kernel and copy it into the VM as /netbsd.test
when booting the VM, abort the countdown of the bootloader and run
`boot netbsd.test -s`
to boot into single-user mode and see if the code works.
- aprint_normal
- [x] print btinfo entries types
- print bt str
- [x] print for each cases of device type
- [x] call at 1st statement findroot
- [x] make separate function for every structure.
- [ ] keep main function clean and readable.
- [ ] learn to move code block in vscode
- [x] code conventions
- [ ] clean up casting code in new functions, cover all entries
the existing code does ```aprint_normal(" %s", btinfo_str[bic->type]);```
[22:49] <baduck> we could also define an array btinfo_prfuncs that contains pointer to the print function for each type and then do something like
[22:50] <baduck> ```(*(btinfo_prfuncs[bic->type]))(bic);```
# unplanned
- [x] clone the src repository on github (which one?).
- [x] create a gsoc-setroot branch.
- [x] allow chris write access to that repo.
- [ ] document the protocol between config(8) and the kernel.