From owner-freebsd-doc@FreeBSD.ORG Fri Aug 12 19:00:31 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A01E16A41F for ; Fri, 12 Aug 2005 19:00:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41D3743D46 for ; Fri, 12 Aug 2005 19:00:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7CJ0UT0034317 for ; Fri, 12 Aug 2005 19:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7CJ0Th9034307; Fri, 12 Aug 2005 19:00:30 GMT (envelope-from gnats) Resent-Date: Fri, 12 Aug 2005 19:00:30 GMT Resent-Message-Id: <200508121900.j7CJ0Th9034307@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, garys@opusnet.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 602C016A41F for ; Fri, 12 Aug 2005 18:52:43 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from opusnet.com (mail.opusnet.com [209.210.200.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A76943D45 for ; Fri, 12 Aug 2005 18:52:43 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id AFF74D7D00B6; Fri, 12 Aug 2005 11:52:39 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j7CItHJ7033603 for ; Fri, 12 Aug 2005 11:55:17 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j7CItCEB033602; Fri, 12 Aug 2005 11:55:12 -0700 (PDT) (envelope-from garys@opusnet.com) Message-Id: Date: Fri, 12 Aug 2005 11:55:12 -0700 From: "Gary W. Swearingen" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: docs/84849: [patch] fdisk(8) manpage doesn't warn fdisk doesn't read disk X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: garys@opusnet.com List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2005 19:00:31 -0000 >Number: 84849 >Category: docs >Synopsis: [patch] fdisk(8) manpage doesn't warn fdisk doesn't read disk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 12 19:00:29 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 5.4-RELEASE i386 >Organization: none >Environment: n/a >Description: The fdisk(8) manpage doesn't warn that fdisk doesn't read the disk, but instead uses "in-core disklabel". >How-To-Repeat: n/a >Fix: Put a warning in the BUGS section. --- fdisk..orig.8 Sat Aug 6 15:12:37 2005 +++ fdisk.8 Sat Aug 6 15:35:38 2005 @@ -455,3 +455,11 @@ The .Xr bsdlabel 8 command must be used for this. +.Pp +The program uses the kernel's knowledge of important disk information +(AKA +.Qq in-core disklabel ) , +so the program can behave unexpectedly if this information is changed +on the disk without the kernel's knowledge, as is commonly done using, +for example, +.Ic "dd if=/dev/zero of=/dev/fd0 count=1" . >Release-Note: >Audit-Trail: >Unformatted: