Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 1999 22:16:53 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        jmg@FreeBSD.ORG
Cc:        bright@rush.net, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/12780: tun code panics when 0 bytes written (PATCH included) 
Message-ID:  <39283.932761013@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 23 Jul 1999 13:09:04 PDT." <199907232009.NAA91328@freefall.freebsd.org> 

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

Zero length writes to a device are legal, at some point it was the
way to write end of file and end of tape for magtapes:  you would
do one zero length write after each file and two at the end of the
tape.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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