The "debug.boothowto" sysctl can now be used (as on the i386) to determine if the console is a serial one.