Subject: PR/36244 CVS commit: src/sys/dev
To: None <tron@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 04/30/2007 17:25:02
The following reply was made to PR kern/36244; it has been noted by GNATS.
From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36244 CVS commit: src/sys/dev
Date: Mon, 30 Apr 2007 17:23:09 +0000 (UTC)
Module Name: src
Committed By: tron
Date: Mon Apr 30 17:23:09 UTC 2007
Modified Files:
src/sys/dev: ld.c
Log Message:
Reset error code if an ioctl() request is not handled by the generic
disk framework. This stops ld(4) from returning an error for various
ioctl() requests which actually *did* work. As a result fdisk(8) and
therefore also sysinst(8) work with ld(4) devices once again.
Based on a patch supplied by Todd Kover in PR kern/36244, successfully
tested with ld(4)@icp(4).
To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 src/sys/dev/ld.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.