Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/diskparts-sysname/readme
diskparts misses the $sysname variable due to `rfork e' (preventing it to be inherited from parent, e.g. /rc/bin/termrc.) Thus, explicitly define $sysname.