Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Dec 2002 09:15:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Dec 2002 09:15:02 -0500 Received: from web8206.mail.in.yahoo.com ([203.199.70.75]:32335 "HELO web8206.mail.in.yahoo.com") by vger.kernel.org with SMTP id ; Tue, 17 Dec 2002 09:15:01 -0500 Message-ID: <20021217142247.18564.qmail@web8206.mail.in.yahoo.com> Date: Tue, 17 Dec 2002 14:22:47 +0000 (GMT) From: =?iso-8859-1?q?Sanjay=20Kumar?= Subject: How to get the size of the block device ???? (Important) To: linux-kernel@vger.kernel.org Cc: Matt_Domsch@dell.com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1009 Lines: 30 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/