Skip site navigation (1)Skip section navigation (2)
Date:      08 Feb 2003 17:53:06 -0800
From:      "Gary W. Swearingen" <swear@attbi.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/48105: /etc/disktab has incomplete duplication of manpage info
Message-ID:  <behebeb4ot.ebe@localhost.localdomain>

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

>Number:         48105
>Category:       conf
>Synopsis:       /etc/disktab has incomplete duplication of manpage info
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 08 18:00:26 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gary W. Swearingen
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
none
>Environment:
n/a
================
>Description:

/etc/disktab has a list of field descriptions which is incomplete
and which has slightly different descriptions of fields than the
disktab(5) manpage.  Having this info in this file is an extra
maintenance task which is not worth the effort and it should be
replaced with a reference to the manpage.
================
>How-To-Repeat:
n/a
================
>Fix:

Apply this patch, based on
# $FreeBSD: src/etc/etc.i386/disktab,v 1.20.2.2 2002/04/15 00:44:15 dougb Exp $
to two files:
    /usr/src/etc/etc.i386/disktab
    /usr/src/etc/etc.alpha/disktab

--- /pr/work/etc.i386-disktab.orig	Sat Feb  8 17:31:23 2003
+++ /pr/work/etc.i386-disktab	Sat Feb  8 17:36:31 2003
@@ -2,33 +2,5 @@
 #
 # Disk geometry and partition layout tables. 
-# Key:
-#	dt	controller type
-#	ty	type of disk (fixed, removeable, simulated)
-#	d[0-4]	drive-type-dependent parameters
-#	ns	#sectors/track
-#	nt	#tracks/cylinder
-#	nc	#cylinders/disk
-#	sc	#sectors/cylinder, ns*nt default
-#	su	#sectors/unit, sc*nc default
-#	se	sector size, DEV_BSIZE default
-#	rm	rpm, 3600 default
-#	sf	supports bad144-style bad sector forwarding
-#	sk	sector skew per track, default 0
-#	cs	sector skew per cylinder, default 0
-#	hs	headswitch time, default 0
-#	ts	one-cylinder seek time, default 0
-#	il	sector interleave (n:1), 1 default
-#	bs	boot block size, default BBSIZE
-#	sb	superblock size, default SBSIZE
-#	o[a-h]	partition offsets in sectors
-#	p[a-h]	partition sizes in sectors
-#	b[a-h]	partition block sizes in bytes
-#	f[a-h]	partition fragment sizes in bytes
-#	t[a-h]	partition types (filesystem, swap, etc)
-#
-# All partition sizes reserve space for bad sector tables.
-# (5 cylinders needed for maintenance + replacement sectors)
-#
-
+# See disktab(5) manpage.
 #
 # Floppy formats:
>Release-Note:
>Audit-Trail:
>Unformatted:

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?behebeb4ot.ebe>