LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2010, 04:52 AM   #1
rcmonroig
Member
 
Registered: Mar 2007
Location: Chandler, AZ
Distribution: Fedora 10,12,and 14
Posts: 62
Blog Entries: 1

Rep: Reputation: 15
Question How to determine number of blocks for a partition


Hi,

Can someone explain how to determine the number of blocks to determine the number of cylinders for a new partition on hard drive.

Why is block size divided by 1024?

I think I understand unit size is the total bytes per cylinder, I get that. I understand the anatomy of the hard drive (i.e. heads, sectors, cylinders.

My problem is, if I need to calculate the number of cylinders needed for let's say a 20G partition on a 120G drive.

Any help would be greatly appreciated.

Thanks,
Ron
 
Old 07-01-2010, 05:27 AM   #2
subho.d
Member
 
Registered: Jun 2010
Location: INDIA
Distribution: All Linux & Unix
Posts: 86

Rep: Reputation: 19
hi ;
Do this
Quote:
#df -i
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine name of file which owns a block number on a FS? 10110111 Linux - Software 3 04-27-2010 02:27 AM
Determine number of checklist in zenity dynamically... shivarajM Linux - Software 3 05-02-2009 06:03 AM
4 port router. Does ip number determine priority? suguru Linux - Networking 1 01-23-2008 11:12 AM
Determine IP address blocks owned an ISP to stop hacking attempts TigerOC Linux - Security 5 09-09-2006 03:52 PM
How do you determine the number of NFS instances to start? BrianK Linux - Networking 6 10-26-2004 05:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration