All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Neakums <sneakums@zork.net>
To: linux-kernel@vger.kernel.org
Subject: Re: How to get the size of the block device ???? (Important)
Date: Tue, 17 Dec 2002 14:40:47 +0000	[thread overview]
Message-ID: <6ud6o0so7k.fsf@zork.zork.net> (raw)
In-Reply-To: <Pine.LNX.3.95.1021217093512.24416A-100000@chaos.analogic.com> ("Richard B. Johnson"'s message of "Tue, 17 Dec 2002 09:36:26 -0500 (EST)")

commence  Richard B. Johnson quotation:

> On Tue, 17 Dec 2002, [iso-8859-1] Sanjay Kumar wrote:
>
>> Problem Summary : I need the size of the block device in bytes on
>> which my file system will be created.  Actually, there is a feild
>> in the super block, needs the total no of blocks on the device
>> while while creating the filesystem. So, Can you Plz. help me out
>> of this problem.
>
> You make an ioctl() function for your file-system that returns the
> block-size that you selected when you designed the system.

The size of the block device is what is sought here, not the block
size of the filesystem.

Isn't there an ioctl for this?  BLKSIZEGET or something?

-- 
 /                          |
[|] Sean Neakums            |  Questions are a burden to others;
[|] <sneakums@zork.net>     |      answers a prison for oneself.
 \                          |

  reply	other threads:[~2002-12-17 14:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17 14:22 How to get the size of the block device ???? (Important) Sanjay Kumar
2002-12-17 14:36 ` Richard B. Johnson
2002-12-17 14:40   ` Sean Neakums [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-17 14:39 Nicholas Berry
2002-12-17 18:49 Matt_Domsch

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=6ud6o0so7k.fsf@zork.zork.net \
    --to=sneakums@zork.net \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.