linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ted Ts'o <tytso@mit.edu>
To: Jeff Moyer <jmoyer@redhat.com>
Cc: Eric Sandeen <sandeen@redhat.com>, Daniel Drake <dsd@laptop.org>,
	linux-ext4@vger.kernel.org
Subject: Re: Determining if an ext4 fs uses the whole partition
Date: Mon, 30 Apr 2012 15:01:44 -0400	[thread overview]
Message-ID: <20120430190144.GB5769@thunk.org> (raw)
In-Reply-To: <x49ty01i0ih.fsf@segfault.boston.devel.redhat.com>

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

  reply	other threads:[~2012-04-30 19:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-30 17:19 Determining if an ext4 fs uses the whole partition Daniel Drake
2012-04-30 17:29 ` Eric Sandeen
2012-04-30 17:37   ` Jeff Moyer
2012-04-30 19:01     ` Ted Ts'o [this message]
2012-04-30 18:18   ` Daniel Drake
2012-04-30 18:26     ` Eric Sandeen
2012-04-30 17:33 ` djwong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120430190144.GB5769@thunk.org \
    --to=tytso@mit.edu \
    --cc=dsd@laptop.org \
    --cc=jmoyer@redhat.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=sandeen@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).