From owner-freebsd-current@FreeBSD.ORG Thu May 5 06:53:23 2011 Return-Path: Delivered-To: Current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 227131065673 for ; Thu, 5 May 2011 06:53:23 +0000 (UTC) (envelope-from s.seira@cdmon.com) Received: from correo.cdmon.com (correo.cdmon.com [212.36.82.9]) by mx1.freebsd.org (Postfix) with ESMTP id CEFD08FC19 for ; Thu, 5 May 2011 06:53:22 +0000 (UTC) Received: from genocida (localhost.cdmon.com [127.0.0.1]) by correo.cdmon.com (Postfix) with ESMTP id D290E130F3C for ; Thu, 5 May 2011 08:35:13 +0200 (CEST) Received: from antispam (localhost.cdmon.com [127.0.0.1]) by correo.cdmon.com (Postfix) with ESMTP id 84127130EFA for ; Thu, 5 May 2011 08:35:13 +0200 (CEST) Received: from [192.168.0.30] (155.Red-88-2-251.staticIP.rima-tde.net [88.2.251.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by correo.cdmon.com (Postfix) with ESMTP id A25C7130E84 for ; Thu, 5 May 2011 08:35:12 +0200 (CEST) Message-ID: <4DC24524.4090303@cdmon.com> Date: Thu, 05 May 2011 08:35:16 +0200 From: Sergi Seira User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100515 Lightning/1.0b1 Icedove/3.0.4 MIME-Version: 1.0 To: Current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: bsdlabel showing value zero on fsize, bsize and bps/cpg for all partitions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2011 06:53:23 -0000 Hello, on freebsd version 6 and 7 I was relaying on bsdlabel to get block size : # bsdlabel /dev/mirror/gm4s1 # /dev/mirror/gm4s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 4194304 0 4.2BSD 2048 16384 28528 b: 8388608 4194304 swap c: 293041602 0 unused 0 0 # "raw" part, don't edit d: 2097152 12582912 4.2BSD 2048 16384 28528 e: 52428800 14680064 4.2BSD 2048 16384 28528 f: 225932738 67108864 4.2BSD 2048 16384 28528 but on 8.1 and 8.2 I get zero values : # bsdlabel /dev/mirror/gm6s1 # /dev/mirror/gm6s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 4194304 0 4.2BSD 0 0 0 b: 17186816 4194304 swap c: 1953525105 0 unused 0 0 # "raw" part, don't edit d: 2097152 21381120 4.2BSD 0 0 0 e: 83886080 23478272 4.2BSD 0 0 0 f: 1846160753 107364352 4.2BSD 0 0 0 Has anyone seen this? Is it some step I missed on install? Is there another command to get block size? Thanks for your help, regards, Sergi