From: Ted Ts'o Subject: Re: Determining if an ext4 fs uses the whole partition Date: Mon, 30 Apr 2012 15:01:44 -0400 Message-ID: <20120430190144.GB5769@thunk.org> References: <4F9ECC0E.8020201@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Eric Sandeen , Daniel Drake , linux-ext4@vger.kernel.org To: Jeff Moyer Return-path: Received: from li9-11.members.linode.com ([67.18.176.11]:49110 "EHLO test.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752151Ab2D3TB4 (ORCPT ); Mon, 30 Apr 2012 15:01:56 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: On Mon, Apr 30, 2012 at 01:37:42PM -0400, Jeff Moyer wrote: > > Note that fdisk -u gives sector units, which may or may not be 512 > bytes: > > $ sudo fdisk -lu /dev/sdb > Note: sector size is 4096 (not 512) Note: you can also get the same numbers from /proc/partitions. Regards, - Ted