From owner-freebsd-current Sat Jun 15 04:34:05 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA21154 for current-outgoing; Sat, 15 Jun 1996 04:34:05 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA21074 for ; Sat, 15 Jun 1996 04:33:58 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id VAA09411; Sat, 15 Jun 1996 21:28:25 +1000 Date: Sat, 15 Jun 1996 21:28:25 +1000 From: Bruce Evans Message-Id: <199606151128.VAA09411@godzilla.zeta.org.au> To: asami@cs.berkeley.edu, current@FreeBSD.org Subject: Re: how to find size of special file Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >How do you find out a size of a raw or cooked disk partition? Neither There's nothing better than a disklabel ioctl (DIOCGDINFO). See the newfs sources. Bruce