Lines Matching defs:IF
29 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 if [ ! -z "$TERM" ]; then
57 if ! mount_mfs -s 2048 swap /tmp ; then
113 if grep_check_q "no disk label" /tmp/checkfordisklabel; then
128 if [ -z "${_disk_instance}" ]; then
139 Geometry info for SCSI disks was printed at boot time. If that information
230 if ! disklabel -w -r ${1} ${_cur_disk_name}; then
248 if ! disklabel -e /dev/r${1}a; then
259 (filesystem block size), and cpg (cylinders per group) values. If you
280 if dmesg | grep_check_q "${1}: "; then
284 if [ -z "${_hpib_disktype}" ]; then
291 # Peer through /etc/disktab to see if the disk has a "default"
292 # layout. If it doesn't, we have to treat it like a SCSI disk;
295 if ! grep_check_q "${_hpib_disktype}[:|]" /etc/disktab; then
308 if ! disklabel -r -w ${1} $_hpib_disktype; then
335 # Check to see if there is a disklabel present on the device.
336 # If so, we can just edit it. If not, we must first install
366 # Check to see if installing the default was
367 # successful. If so, go ahead and pop into the
369 if [ "${rval}" != "0" ]; then
378 if ! disklabel -e $1; then
389 # Make sure there's a disklabel there. If there isn't, puke after
453 if [ ! -f /mnt/netbsd ]; then
489 If you have SCSI disks, however, prior knowledge of disk geometry
491 information for SCSI disks during boot, if possible. If you did not
501 You can hit Control-C at any time to quit, but if you do so at a