bin/125680: atacontrol(8): atacontrol depends on executable in /usr

Garrett Cooper yanefbsd at gmail.com
Tue Jul 22 06:24:16 UTC 2008


On Mon, Jul 21, 2008 at 1:33 AM, Antoine Brodin <antoine at freebsd.org> wrote:
> On Mon, Jul 21, 2008 at 10:04 AM, Garrett Cooper <yanefbsd at gmail.com> wrote:
>> Antoine,
>>     You're right. I flip-flopped parent and child there in my
>> original statement.
>>     I also saw the async ('&') terminal command.
>>     But what is ultimately gained by forking another process to read
>> a device other than just resuming control for the terminal to the
>> user? It seems like all this does is create potential for additional
>> zombie processes on the system...
>>     Just as an experiment, could you insert another printf or some
>> statement to ensure that the read is deterministically completed every
>> time?
>
> I have attached a patch with an extra printf.
> I guess that the dd/read is done in the background because it can take
> hours, so the user doesn't have to wait hours to have his terminal
> back.
>
> Cheers,
>
> Antoine

Ok, fair enough.
Cheers,
-Garrett


More information about the freebsd-bugs mailing list