From 28719d2ae0f0c974e141fa25149354d009519b3d Mon Sep 17 00:00:00 2001 From: krw Date: Mon, 2 Aug 2010 11:21:35 +0000 Subject: [PATCH] Suppress MAKEDEV warnings about 'unknown device' that can appear during upgrades when /etc/fstab is using disklabel UID's to mount partitions. Feedback & trash elimination from halex@ "That seems acceptable to me" deraadt@ --- distrib/miniroot/install.sub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index b5f9faf6230..dc8793696f3 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.613 2010/07/07 07:15:00 halex Exp $ +# $OpenBSD: install.sub,v 1.614 2010/08/02 11:21:35 krw Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -494,7 +494,7 @@ makedev() { return 1 fi - (cd /dev ; sh MAKEDEV $_dev || return 1 ; cd - >/dev/null) + (cd /dev && sh MAKEDEV $_dev) >/dev/null 2>&1 } # Create an entry in the hosts file. If an entry with the -- 2.20.1