bin/136733: disklabel handle incorrently

Gea-Suan Lin gslin at gslin.org
Tue Jul 14 04:20:02 UTC 2009


>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 at 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 at 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:


More information about the freebsd-bugs mailing list