From owner-freebsd-hackers Tue Feb 5 1:56: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from comp.chem.msu.su (comp-ext.chem.msu.su [158.250.32.157]) by hub.freebsd.org (Postfix) with ESMTP id 461BD37B419 for ; Tue, 5 Feb 2002 01:56:01 -0800 (PST) Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id g159tvL11207 for hackers@freebsd.org; Tue, 5 Feb 2002 12:55:57 +0300 (MSK) (envelope-from yar) Date: Tue, 5 Feb 2002 12:55:57 +0300 From: Yar Tikhiy To: hackers@freebsd.org Subject: Get disk device size? Message-ID: <20020205125557.A10266@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, Could anyone point out at an ioctl or any other way to get a disk device size granted the device has no BSD label or PC slice table on it? Ways for both the userland and kernel are welcome. Thanks in advance! -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message