Subject: Re: bin/35547: add timeout to cgdconfig
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 02/04/2007 20:35:02
The following reply was made to PR bin/35547; it has been noted by GNATS.

From: Lubomir Sedlacik <salo@Xtrmntr.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/35547: add timeout to cgdconfig
Date: Sun, 4 Feb 2007 21:31:06 +0100

 On Sun, Feb 04, 2007 at 05:55:00PM +0000, anne@encs.concordia.ca wrote:
 > cgd_start()
 > {
 >         if [ -f /etc/cgd/cgd.conf ]; then
 >                 answer=3D""
 >                 echo    "^GAre you ready to configure the CGD?"
 >                 echo -n "^GPlease respond within $timeout seconds (y or n=
 ): "
 
 what if you have e.g., two cgd(4) volumes, where one is swap and it can
 be configured just fine without any user interaction? =20
 
 i think the rc.d script is the wrong place to do this kind of things.
 ideally, there would be a per-volume option which could be added to
 cgd.conf.
 
 
 regards,
 
 --=20
 -- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --