Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 20:29:59 GMT
From:      Jin Guojun <jguojun@sbcglobal.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/165789: bsdlabel: partition c doesn't cover the whole unit!
Message-ID:  <201203062029.q26KTxPb024387@red.freebsd.org>
Resent-Message-ID: <201203062030.q26KUANL099578@freefall.freebsd.org>

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

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



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