Subject: kern/8855: OSS emulation has block size issues
To: None <gnats-bugs@gnats.netbsd.org>
From: Charles M. Hannum <mycroft@MIT.EDU>
List: netbsd-bugs
Date: 11/22/1999 19:34:09
	Note: There was a bad value `serioues' for the field `>Severity:'.
	It was set to the default value of `serious'.


>Number:         8855
>Category:       kern
>Synopsis:       OSS emulation has block size issues
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 22 19:33:00 1999
>Last-Modified:
>Originator:     Charles M. Hannum
>Organization:
	The NetBSD Mission
>Release:        -current as of 19991117
>Environment:
	n/a

>Description:
	Some programs (e.g. an older version of the LiViD DVD
	software) appear to rely on the write(2) behaviour of OSS --
	namely, that it writes only whole `fragments' and that the
	`fragment' size initialize to a power of 2 >=1024.  That is,
	they write 1k blocks and do not check for short writes.

	Such programs currently malfunction under our OSS emulation.

>How-To-Repeat:
	Obvious from above.

>Fix:
	Not supplied, and may be annoying.  Should check existing
	Linux documentation (if any) to determine if the program's
	expected behaviour is actually correct.

>Audit-Trail:
>Unformatted: