From owner-freebsd-bugs@FreeBSD.ORG Fri May 19 15:20:17 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C63516A420 for ; Fri, 19 May 2006 15:20:17 +0000 (UTC) (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 D118843D46 for ; Fri, 19 May 2006 15:20:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4JFKGm7077749 for ; Fri, 19 May 2006 15:20:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4JFKG1t077741; Fri, 19 May 2006 15:20:16 GMT (envelope-from gnats) Resent-Date: Fri, 19 May 2006 15:20:16 GMT Resent-Message-Id: <200605191520.k4JFKG1t077741@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Helmut Schellong Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7D0D16A42A for ; Fri, 19 May 2006 15:10:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B438643D48 for ; Fri, 19 May 2006 15:10:35 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4JFAZsL005350 for ; Fri, 19 May 2006 15:10:35 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k4JFAZrO005349; Fri, 19 May 2006 15:10:35 GMT (envelope-from nobody) Message-Id: <200605191510.k4JFAZrO005349@www.freebsd.org> Date: Fri, 19 May 2006 15:10:35 GMT From: Helmut Schellong To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: bin/97498: newfs has no option to clear the first 128 sectors X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 15:20:17 -0000 >Number: 97498 >Category: bin >Synopsis: newfs has no option to clear the first 128 sectors >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri May 19 15:20:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Helmut Schellong >Release: 6.1 >Organization: private >Environment: FreeBSD fbsd.lokal.biz 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 08:45:34 CEST 2006 root@fbsd.lokal.biz:/usr/src/sys/i386/compile/BSD61 i386 >Description: CF-Card 8 GB: ------------- sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT) start 63, size 3666915 (1790 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 228/ head 65/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 3667041, size 12574674 (6139 Meg), flag 0 beg: cyl 228/ head 67/ sector 1; end: cyl 1010/ head 254/ sector 63 Partition 2 first was FAT32. newfs touches not the first 128 sectors. I'm missing an option to clear this area automatically. (When there is no bsdlabel in 2nd sector) Because other OSes misinterpret: p1=1.75GB,FAT32 p2=2.4GB,FAT32 Correct would be: p1=1.75GB,FAT32 p2=6.0GB,unknown I had used dd to correct, but an option would be better. >How-To-Repeat: newfs ... >Fix: Add an option. (A OS from SCO has such an option: 1st 64KB = Zero) >Release-Note: >Audit-Trail: >Unformatted: