CVSROOT: /cvs Module name: src Changes by: r...@cvs.openbsd.org 2015/12/18 09:20:58
Modified files: distrib/amd64/common: install.md distrib/armish/ramdisk: install.md distrib/armv7/ramdisk: install.md distrib/i386/common: install.md distrib/landisk/ramdisk: install.md distrib/loongson/ramdisk: install.md distrib/macppc/ramdisk: install.md distrib/miniroot: install.sub distrib/octeon/ramdisk: install.md distrib/socppc/ramdisk: install.md distrib/zaurus/ramdisk: install.md Log message: Introduce a new function disk_has() to inspect a disk if it has a partition-table of a certain type and optionally if it has a partition of a certain type. Use disk_has() in the install.md script to replace all the various "fdisk <disk> | grep <pattern>" commands greatly simplifying things. positive feedback from sthen@ "time to get it really tested" deraadt@ OK krw@