Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 2009 12:13:40 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   bin/136733: disklabel handle incorrently
Message-ID:  <20090714041340.28CBB7E81B@colo-p.gslin.org>
Resent-Message-ID: <200907140420.n6E4K24U050312@freefall.freebsd.org>

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

>Number:         136733
>Category:       bin
>Synopsis:       disklabel handle incorrently
>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:   Tue Jul 14 04:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 8.0-BETA1 amd64
>Organization:
>Environment:
System: FreeBSD webfront-blog-12 8.0-BETA1 FreeBSD 8.0-BETA1 #0: Sat Jul  4 02:38:21 UTC 2009     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


	
>Description:
After installing 8.0-BETA1 and then trying to use disklabel to modify
partitions:

gslin@webfront-blog-12 [~] (12:09) sudo disklabel -r ad4s1
# /dev/ad4s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a: 10485760  4194367    4.2BSD        0     0     0
  b:  4194304       63      swap
  c: 312576642       63    unused        0     0         # "raw" part, don't edit
  d: 20971520 14680127    4.2BSD        0     0     0
  e: 276925058 35651647    4.2BSD        0     0     0
partition c: partition extends past end of unit
disklabel: partition c doesn't start at 0!
disklabel: An incorrect partition c may cause problems for standard system utilities
partition e: partition extends past end of unit

Also, I cannot use disklabel -e ad4s1 to modify.

	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090714041340.28CBB7E81B>