All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sanjay Kumar" <sanju93csd@yahoo.co.in>
To: linux-kernel@vger.kernel.org
Cc: Matt_Domsch@dell.com
Subject: How to get the size of the block device ???? (Important)
Date: Tue, 17 Dec 2002 14:22:47 +0000 (GMT)	[thread overview]
Message-ID: <20021217142247.18564.qmail@web8206.mail.in.yahoo.com> (raw)

Hi,
  I am Sanjay Kumar and wants to write my own file
system on Linux. I have almost written the code.
  But,now i have a problem while writing the code 
for "mkfs" for my filesystem.

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.

I got your email id from :

 http://lwn.net/2001/0906/a/last-sector.php3

Sanjay Kumar.
M.C.A.,
Univeristy of Pune,
India.

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17 14:22 Sanjay Kumar [this message]
2002-12-17 14:36 ` How to get the size of the block device ???? (Important) Richard B. Johnson
2002-12-17 14:40   ` Sean Neakums
  -- 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=20021217142247.18564.qmail@web8206.mail.in.yahoo.com \
    --to=sanju93csd@yahoo.co.in \
    --cc=Matt_Domsch@dell.com \
    --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.