Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2008 22:10:03 GMT
From:      Kris Kennaway <kris@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/125680: atacontrol depends on executable in /usr
Message-ID:  <200807162210.m6GMA3e9090761@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR bin/125680; it has been noted by GNATS.

From: Kris Kennaway <kris@FreeBSD.org>
To: David Schultz <das@FreeBSD.ORG>
Cc: bug-followup@FreeBSD.ORG
Subject: Re: misc/125680: atacontrol depends on executable in /usr
Date: Thu, 17 Jul 2008 00:04:28 +0200

 David Schultz wrote:
 > On Wed, Jul 16, 2008, Kris Kennaway wrote:
 >>  Better fix: use /bin/csh and the built-in nice.
 > 
 > Better yet, given that it's a C program that invokes
 >        /usr/bin/nice -n 20 /bin/dd if=/dev/ar%d of=/dev/null bs=1m &
 > via system(3), would be to use nice(3). Actually, the whole thing
 > is sort of dubious: What if my libraries are corrupted and I'm trying
 > to use /rescue/atacontrol to fix things, but it gives an error because
 > it's hardwired to use /bin/dd instead of /rescue/dd? A simple
 > while (!eof) read(); loop should suffice.
 > 
 > 
 
 You make a good point, sir :)
 
 Kris
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807162210.m6GMA3e9090761>