CDPROBE(8)

NAME
cdprobe - guess where the Minix CD is

SYNOPSIS
cdprobe

DESCRIPTION
Cdprobe prints on standard output the name of the device (in /dev/cXdY form) of a device containing a CD with the proper layout to install Minix from it.
Such a CD should have a MINIX cd label, an IBM-format partition table at the beginning (like any hardisk), and the file systems pointed to at positions p1 and p2 of that partition table, should be valid (mountable) Minix file systems.

DIAGNOSTICS
The return code is 0 after successfully printing the device, or 1 if some error or unexpected condition occured. Appropriate diagnostic messages are printed on standard error.

NOTES
Cdprobe probes all the possible drives on the system, so can try for a long time, particularly when there are no readable CD, or when the controller cannot be successfully addressed at hardware level.

BUGS
There is some nasty hard-codery (like MINIX cd label) that can be improved on.

SEE ALSO
at(4), /etc/rc on the initial ramdisk.

AUTHOR
Cdprobe.c was written by Ben Gras and Philip Homburg.