NEWDISK(8) System Manager's Manual (x68k) NEWDISK(8)

newdisk
Prepare a new disk to be usable for X680x0

newdisk [-vnfcp] [-m mboot] raw_device

newdisk prepares a new hard disk to be bootable from by X680x0. It should NOT be used for floppy disks.

It creates a disk mark for IOCS to determine the disk geometry, writes the primary boot program (mboot), and creates empty partition table. The option are as follows:

Verbose mode.
Dryrun mode. Nothing is written to the disk.
Force. Usually, when newdisk detects existing disk mark, it aborts with some error messages. -f option prevents this behaviour.
Check only. newdisk looks at the disk whether it is already marked.
Do not create the partition table.
mboot
Specifies the mboot program to be written.

/usr/mdec/mboot
The default primary boot program.

installboot(8), x68k/boot(8)

The newdisk utility first appeared in NetBSD 1.5.

newdisk was written by MINOURA Makoto <minoura@NetBSD.org>.
February 17, 2017 NetBSD 9.4