bin/165789: bsdlabel: partition c doesn't cover the whole unit!

Jin Guojun jguojun at sbcglobal.net
Tue Mar 6 20:30:11 UTC 2012


>Number:         165789
>Category:       bin
>Synopsis:       bsdlabel: partition c doesn't cover the whole unit!
>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 Mar 06 20:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jin Guojun
>Release:        8.3-Beta
>Organization:
>Environment:
FreeBSD bsd 8.3-BETA1 FreeBSD 8.3-BETA1 #0: Wed Feb 29 12:44:48 PST 2012 
>Description:
% bsdlabel da0s2
# /dev/da0s2:
8 partitions:
#          size     offset    fstype   [fsize bsize bps/cpg]
  c:  122334975          0    unused        0     0     # "raw" part, don't edit
  d:  122334975          0    4.2BSD        0     0     0
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard system utilities

% bsdlabel da0s1
# /dev/da0s1:
8 partitions:
#          size     offset    fstype   [fsize bsize bps/cpg]
  c:   62910477          0    unused        0     0     # "raw" part, don't edit
  d:    2097152          0    4.2BSD        0     0     0
bsdlabel: partition c doesn't cover the whole unit!
bsdlabel: An incorrect partition c may cause problems for standard system utilities

bsdlabel sends out some non-sense message when showing a slice information.
For a disk drive with single slice, this may make sense. If a drive has multiple slices, the C cannot cover the entire disk space, and this message make no sense at all.

>How-To-Repeat:
Create a two or more slices on a hard disk drive then run bsdlabel on each slice.
>Fix:


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


More information about the freebsd-bugs mailing list