NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/57883: Tar opens /dev/(r)fd0* devices on backup hanging when floppy is empty



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

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/57883: Tar opens /dev/(r)fd0* devices on backup hanging when floppy is empty
Date: Mon, 29 Jan 2024 06:31:54 -0000 (UTC)

 joerg%bec.de@localhost (=?ISO-8859-1?Q?J=F6rg?= Sonnenberger) writes:
 
 >There is no race free way to get those. There are hundreds of ways to trick
 >a program into open a device.
 
 True. But the current behaviour of tar doesn't require any tricks as
 opening a device is enforced.
 
 
 >It's the fault of the device driver for having
 >unusual side effects on open.
 
 Device drivers always had usual side effects on open or close.
 


Home | Main Index | Thread Index | Old Index