NetBSD Problem Report #21605
Received: (qmail 26108 invoked by uid 605); 17 May 2003 00:32:12 -0000
Message-Id: <20030517003211.397AA2ACF8@home.mewburn.net>
Date: Sat, 17 May 2003 10:32:11 +1000 (EST)
From: lukem@netbsd.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: lukem@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: ld doesn't support DIOCKLABEL
X-Send-Pr-Version: 3.95
>Number: 21605
>Category: kern
>Synopsis: ld doesn't support DIOCKLABEL
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: thorpej
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat May 17 00:33:00 +0000 2003
>Closed-Date: Sat May 17 16:12:29 +0000 2003
>Last-Modified: Sat May 17 16:12:29 +0000 2003
>Originator: Luke Mewburn
>Release: NetBSD 1.6T
>Organization:
>Environment:
System: NetBSD argo.mewburn.net 1.6T NetBSD 1.6T (ARGO from GENERIC-$Revision: 1.558 $) #0: Wed May 14 19:27:36 EST 2003 lukem@argo.mewburn.net:/var/obj/i386/usr/src/sys/arch/i386/compile/ARGO i386
Architecture: i386
Machine: i386
>Description:
ld (on twe or iop) doesn't support DIOCKLABEL.
For that matter, a bunch of other drivers don't support it
either (e.g, vnd); only wd and sd do at the moment, but
of all of those that don't support it, ld is most important
"disk" to fix.
>How-To-Repeat:
Use dkctl(8) or a custom program to set DIOCKLABEL on an ld
disk. notice that the kernel doesn't cache the label.
>Fix:
Ask friendly kernel hacker (Hi Jason! :) to do it for you.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->thorpej
Responsible-Changed-By: lukem
Responsible-Changed-When: Sat May 17 00:37:41 UTC 2003
Responsible-Changed-Why:
jason kindly offered to take a look at this for me
From: Jason R Thorpe <thorpej@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/21605 CVS commit: src/sys/dev
Date: Sat, 17 May 2003 16:11:53 +0000 (UTC)
Module Name: src
Committed By: thorpej
Date: Sat May 17 16:11:53 UTC 2003
Modified Files:
src/sys/dev: ccd.c ccdvar.h ld.c ldvar.h vnd.c vndvar.h
Log Message:
Add DIOCKLABEL support. Fixes PR kern/21605 (Luke Mewburn).
To generate a diff of this commit:
cvs rdiff -r1.86 -r1.87 src/sys/dev/ccd.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/ccdvar.h
cvs rdiff -r1.21 -r1.22 src/sys/dev/ld.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/ldvar.h
cvs rdiff -r1.98 -r1.99 src/sys/dev/vnd.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/vndvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: thorpej
State-Changed-When: Sat May 17 16:12:15 UTC 2003
State-Changed-Why:
Fixed in ccd, vnd, and ld.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.