NetBSD Problem Report #37252

From martin@duskware.de  Wed Oct 31 13:36:00 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 0D8E763B89A
	for <gnats-bugs@gnats.netbsd.org>; Wed, 31 Oct 2007 13:36:00 +0000 (UTC)
Message-Id: <20071031133517.065DB63B89A@narn.NetBSD.org>
Date: Wed, 31 Oct 2007 13:35:17 +0000 (UTC)
From: roskens@elfin.net
Reply-To: roskens@elfin.net
To: netbsd-bugs-owner@NetBSD.org
Subject: dk/dkctl unclear on partition types resulting in newfs failures
X-Send-Pr-Version: www-1.0

>Number:         37252
>Category:       bin
>Synopsis:       dk/dkctl unclear on partition types resulting in newfs failures
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 31 13:40:00 +0000 2007
>Closed-Date:    Tue Aug 18 15:19:21 +0000 2009
>Last-Modified:  Tue Aug 18 15:19:21 +0000 2009
>Originator:     Ron Roskens
>Release:        NetBSD 4.0RC3
>Organization:
>Environment:
NetBSD  4.0_RC3 NetBSD 4.0_RC3 (GENERIC) #0: Tue Oct 16 01:14:06 PDT 2007  builds@wb34:/home/builds/ab/netbsd-4-0-RC3/i386/200710160011Z-obj/home/builds/ab/netbsd-4-0-RC3/src/sys/arch/i386/compile/GENERIC i386
>Description:
The documentation for dk(4), dkctl(8), newfs(8), newfs_lfs(8) is unclear on what exact partition types could be used for manually creating a wedge.
>How-To-Repeat:
man dkctl and read that under the 'addwedge' option that you need to specify a partition type.

Create a partition with a type of 4.2BSD:
# dkctl /dev/raid0d addwedge raid0w0 0 4194304 4.2BSD

Newfs fails to run:
# newfs /dev/dk0                                      
newfs: /dev/dk0 partition type is not `4.2BSD'
>Fix:
Document which partition types (as strings) are acceptable arguments for dkctl so that newfs{,_lfs}(8) will create the filesystem.

>Release-Note:

>Audit-Trail:
From: "S.P.Zeidler" <spz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37252 CVS commit: src/sbin/dkctl
Date: Thu, 30 Jul 2009 05:54:43 +0000

 Module Name:	src
 Committed By:	spz
 Date:		Thu Jul 30 05:54:43 UTC 2009

 Modified Files:
 	src/sbin/dkctl: dkctl.8

 Log Message:
 list the partition types addwedge understands, so you don't need to utsl
 to find out what strings to use here
 fixes PR 37252


 To generate a diff of this commit:
 cvs rdiff -u -r1.18 -r1.19 src/sbin/dkctl/dkctl.8

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->pending-pullups
State-Changed-By: spz@NetBSD.org
State-Changed-When: Sun, 02 Aug 2009 18:29:42 +0000
State-Changed-Why:
the man page has been amended in current, but that should be pulled up


From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37252 CVS commit: [netbsd-5] src/sbin/dkctl
Date: Fri, 14 Aug 2009 20:53:59 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Fri Aug 14 20:53:59 UTC 2009

 Modified Files:
 	src/sbin/dkctl [netbsd-5]: dkctl.8

 Log Message:
 Pull up following revision(s) (requested by spz in ticket #887):
 	sbin/dkctl/dkctl.8: revision 1.19
 list the partition types addwedge understands, so you don't need to utsl
 to find out what strings to use here
 fixes PR 37252


 To generate a diff of this commit:
 cvs rdiff -u -r1.17 -r1.17.28.1 src/sbin/dkctl/dkctl.8

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37252 CVS commit: [netbsd-5-0] src/sbin/dkctl
Date: Fri, 14 Aug 2009 20:58:58 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Fri Aug 14 20:58:58 UTC 2009

 Modified Files:
 	src/sbin/dkctl [netbsd-5-0]: dkctl.8

 Log Message:
 Pull up following revision(s) (requested by spz in ticket #887):
 	sbin/dkctl/dkctl.8: revision 1.19, 1.20
 list the partition types addwedge understands, so you don't need to utsl
 to find out what strings to use here
 fixes PR 37252


 To generate a diff of this commit:
 cvs rdiff -u -r1.17 -r1.17.30.1 src/sbin/dkctl/dkctl.8

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37252 CVS commit: [netbsd-4] src/sbin/dkctl
Date: Tue, 18 Aug 2009 11:05:31 +0000

 Module Name:	src
 Committed By:	bouyer
 Date:		Tue Aug 18 11:05:31 UTC 2009

 Modified Files:
 	src/sbin/dkctl [netbsd-4]: dkctl.8 dkctl.c

 Log Message:
 Pull up following revision(s) (requested by spz in ticket #1350):
 	sbin/dkctl/dkctl.c: revision 1.18
 	sbin/dkctl/dkctl.8: revision 1.19
 list the partition types addwedge understands, so you don't need to utsl
 to find out what strings to use here
 fixes PR 37252
 make dkctl conform to its man page and print the device name on addwedge
 when the addition was successful (as well as indicating success).


 To generate a diff of this commit:
 cvs rdiff -u -r1.17 -r1.17.4.1 src/sbin/dkctl/dkctl.8
 cvs rdiff -u -r1.16 -r1.16.4.1 src/sbin/dkctl/dkctl.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37252 CVS commit: [netbsd-4-0] src/sbin/dkctl
Date: Tue, 18 Aug 2009 11:06:45 +0000

 Module Name:	src
 Committed By:	bouyer
 Date:		Tue Aug 18 11:06:45 UTC 2009

 Modified Files:
 	src/sbin/dkctl [netbsd-4-0]: dkctl.8 dkctl.c

 Log Message:
 Pull up following revision(s) (requested by spz in ticket #1350):
 	sbin/dkctl/dkctl.c: revision 1.18
 	sbin/dkctl/dkctl.8: revision 1.19
 list the partition types addwedge understands, so you don't need to utsl
 to find out what strings to use here
 fixes PR 37252
 make dkctl conform to its man page and print the device name on addwedge
 when the addition was successful (as well as indicating success).


 To generate a diff of this commit:
 cvs rdiff -u -r1.17 -r1.17.16.1 src/sbin/dkctl/dkctl.8
 cvs rdiff -u -r1.16 -r1.16.16.1 src/sbin/dkctl/dkctl.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 18 Aug 2009 15:19:21 +0000
State-Changed-Why:
Pullups completed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.